At 05:05 AM 11/3/2004, you wrote:
Is the app ownerID always 2, or there is a way to retreive it ?

No. If you're a sublaunched program, your owner ID could be 3 or 4 or whatever depth of SysAppLaunches you're at.


There is no documented way to get the owner ID for the current program. However, studying MemoryMgr.h might give you some ideas. Be aware that the concept of owner IDs goes away in Palm OS Cobalt where each process has its own heap, but this should still work from PACE applications.

-- 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