Chris Antos wrote:
> i can't find who calls SysAppExit.  does the compiler/linker
> stick in an implicit call to SysAppExit in the app's exit code?

Yes.  The CodeWarrior startup code calls SysAppExit at the very end of
__Startup__(), which is your app's true main function.  The source for
this, under the CW R5 directory in Windows, is --

  .\Palm OS 3.0 Support\Runtime\(sources)\PalmOS_Startup.c

(I assume GCC startup code would be almost identical.)

-slj-

Reply via email to