Hi everybody, I have a big problem when I try to call the "SysAppLaunch" function more than 14 times !
In fact, during this call, the system seems to increment an 'Owner ID' counter !? and never decrement it ! I saw that the OwnerID information was stored into the low nibble of byte number 13 into the chunk structure, so this explains the maximum value of 15 ! When I call the application with the SysAppLaunch function I set the flags to 'sysAppLaunchFlagNewGlobals' and I think that the system save the caller context into chunk of memory !? Before calling SysAppLaunch I allocate a nonmovable chunk - I set the Owner Id for this chunk to the OS calling MemSetPtrOwner(ptr,0) - and I set the flags to 'sysAppLaunchFlagNewGlobals' In fact everything works well, except that at the 14th call to SysAppLaunch the system says that "No more Owner IDs" and invite me to reset the Palm !! If someone has any idea... PS: I develop with CW DR6, CDK 4, MS VC++ 6 and Palm OS 3.1 Thanks in advance. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
