Jouni Mannonen wrote:
> I didn't think there was any part of the application
> that is called at reset?
At reset your PilotMain gets called with the launch code
sysAppLaunchCmdSystemReset. It gets called with various other launch
codes at other times too. Review the docs on launch codes.
> For some reason, though, the emulator is warning me at reset that
> my application is writing directly to Palm OS global variables.
Make sure your PilotMain is structured to test the launch code, and to
run your GUI only on sysAppLaunchCmdNormalLaunch. Basically you
shouldn't have _any_ code that executes before the big if/switch
statement that dispatches the launch code.
-slj-