Hi,

Sorry if you got this twice, there is something goofy
going on with the list server and me.

I am trying to get McPhling to work with OS 5. The
last major piece that I have to figure out is how to
convert the trapping of SysAppLaunch into the event
sysNotifyAppLaunchingEvent.  Well, I have registered
for sysNotifyAppLaunchingEvent and the first thing
that I do when I get this notification is this:

UInt16 cardNo = ((SysNotifyAppLaunchOrQuitType
*)(((SysNotifyParamType
*)cmdPBP)->notifyDetailsP))->cardNo;
UInt16 dbID = ((SysNotifyAppLaunchOrQuitType
*)(((SysNotifyParamType
*)cmdPBP)->notifyDetailsP))->dbID;
DmDatabaseInfo(cardNo, dbID, NULL, NULL, NULL,
               NULL, NULL, NULL, NULL, NULL,
               NULL, &dbType, &dbCreator);

It crashes the Palm OS 5 Simulator (release 12).

Any ideas how to get past this or what the problem is?

Also, I really need to have the parameters that the
application that is being launched is getting.  For
example, I need to have cmd, cmdPBP and launchFlags. 
I use cmd to see if an application is being launched
from a card (sysAppLaunchCmdCardLaunch).  Is this
information available somewhere or am I dead in the
water.  If I don't have this, McPhling will not exist
in OS 5 :(.

Any help or insight will be greatly appreciated.

Regards,

Mike McCollister


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to