Do you have a global variable defined in a header file? If you have defined a global variable there, and include the header in more than one file you will get an error like this.
If this is the case, you need to put your global variables in a .C/,CPP file. If you want the variable visible to other files, delcare it as extern in the header. Hope this helps, - Dan :D >>> Amit Namjoshi<[EMAIL PROTECTED]> 07/24/02 06:34AM >>> > >the error I get is "Global object already declared in applications main file". > > Do you have a global variable declared in two files? A function > declared in two places? Might need to rename a function, or if it > really is two different functions, use "static". > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see >http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
