Subj : Re: A really stupid Question - how to build a library To : borland.public.cpp.borlandcpp From : dkat Date : Tue Oct 12 2004 11:40 pm "Bob Gonder" wrote in message news:5v3pm0hri261up7cqlm1q2dmcsu7jt907l@4ax.com... > D Kat wrote: > > >> Everything the Main program needs to know, declare in a Header file as > >> extern. > >> extern int TIMERS; > >> extern int counter[]; > >> extern int timer[]; > > > >When I attempt to do it this way the compiler error is that the size of the > >type is unknown or zero..... > > Fill in the [] with whatever your sizes are. > You never showed them, so I couldn't do it for you. Those values are given in the Library header file. When I try to put in values it throws up as well. I have changed the external double arrays to pointers and that seems to take care of those errors and I'm now working on other errors (I seem to have double declarations in the objs I have in the library). I do have hope now that this is going to work... .