In article <91846@palm-dev-forum>, [EMAIL PROTECTED] says... > > Hi People, > > I am relatively new to the Palm development environment. And I am facing linking >problem with my very first program. I have main.c file which handles events of main >form. However here in the MainFormDoCommand( ) function I get linking error when I >try to link the program from the applications main.c file. Is there some thing that I >am not doing correctly, is there some setting that need to be set for the code >warrior to get it to link. the error I get is "Global object already declared in applications main file". > I have added some code to the application wizard code but now I cannot resolve the >linking errors. > Any help will be greatly appreciated.
For some key information about the sample code and wizard generated code that CodeWarrior produces, especially the use of the "static" keyword, see http://www.palmoswerks.com/stories/storyReader$7 -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
