Its a C syntax error, not related to Palm.  You have MainFormDoCommand
declared more than once.  Check your headers.

----- Original Message -----
From: "Amit Namjoshi" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 8:34 AM
Subject: Re: Linking Error Pls help!!


> Hi ,
> thanks for the tip. However I double checked for global variables and also
for function declaration. I have diffenret function names for all the
funcitons like EdittastingDoCommand( ),
EditWineDoCommand( ),EditCellerDoCommand( ) etc.
> But when i copy the entrie code in a single main.c it runs with out any
problem showing all the forms correctly. That is when i include all the
functions mentioned above in one single file it runs with out any problem
but when i have two differnt files one main.c for form event handling and
the other application's main' WineCellarMain.c file for event loops it gives
me linkage errors like the one given below:
>
> Link Error   : Main.c: Global Object 'MainFormDoCommand' was already
declared in File: 'WineCellarMain.c'.
>
> I am not able to figure out why this is happening, I must admit I am very
new to the Palm development scene but basic event handling should not give
any problem irrespective of the development enviornment.
> Any help with respect to the above will be of great help.
>
> TIA
> Cheers
> Amitnj
>





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to