> #include <PalmOS.h>
#include <PalmCompatability.h>
>
> static int StartApplication(void){ return 0; }
> static void EventLoop(void){}
> static void StopApplication(void){}
>
> DWord PilotMain(Word cmd, Ptr cmdPBP, Word launchFlags)
> {
> int error;
>
> if (cmd == sysAppLaunchCmdNormalLaunch)
> {
> error = StartApplication(); // Application start code
>
> if(error)
> return error;
>
> EventLoop(); // Event loop
> StopApplication(); // Application stop code
> }
> return 0;
> }
now.. that will compile.. you are using OLD type declarations.. you
should be moving over to the new types available in 3.5. You were
simply missing the PalmCompatability.h header file :P
hope this helps.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html