At 08:48 AM 11/29/2004, you wrote:
[EMAIL PROTECTED] a �crit :

> One way, it is to create different applications with the same creator id but different types, and then call these applications from your "main" application. (SysUIAppSwitch or SysAppLaunch). And if the application is not found, just show a message explaining why...

Can I pass data pointers to the application launched with SysAppLaunch? The API Ref only mentions "cmdPBP: Launch code parameter block". Which launch code gets sent to the launched application? sysAppLaunchCmdNormalLauch?

The block of data that you pass to a SysUIAppSwitch application needs to be self-contained -- it shouldn't have any pointers to outside data, since any pointers would probably be invalidated by the application switch, since that frees most of the dynamic heap data and the program stack.


For SysAppLaunch, the block can contain pointers to data from your current application.

-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Fourm Archives:   http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to