My testing reveals that the documentation is wrong. 
But I which it wasn't.  Is there something I missed ?

>From Page 59-60 of the Palm OS Programmers Companion (Preliminary)
--------------------------------------------------------------------
If your application is called to process a launch code, it is called as a
subroutine from the current user-interface application. Use the
routine SysCurAppDatabase to get the card number and database
ID of the currently running user-interface application. This routine
doesn't return your application's database ID but the database ID of
the application that initiated the launch code.
--------------------------------------------------------------------
Is this a documentation error ?  
When I call SysCurAppDatabase while in an sysAppLaunchCmdAlarmTriggered
launch.  I always get my own application's database ID NOT the
ID of the currently running GUI application.

This is VERY unfortunate because the GUI apps DB id is exactly what I 
need.

Ron Gouldner



Reply via email to