> From: Stephen A. Cochran
>
> They are declared as follows in Server class declaration:
>
> TCPSocket curr_server;
> DirectoryServer dir_server;
>
> In Codewarrior, the Server class compiles fine, but when it
> gets to the DIrectoryServer class and the TCPSocket class
> code, I get a declaration syntax error back in the Server
> class declaration. It's like the class header files
> were accepted, but when it got to the code of the classes,
> it decided we didn't declare them correctly. Neither class
> takes an params for the constructors.
>
I don't know if this is related to your problem, but in the description
above, you spelled DirectoryServer two ways (the second was
DIrectoryServer). If you did the same thing in your source code, the
compiler would complain. So, check for typos.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/