babbu cathy schrieb:
all,
Can anyone tell me How to register for a Custom launch
code in my application.
There is no need to register for a custom launch code. You just handle
it in your PilotMain-function:
UInt32 PilotMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags)
{
Err error;
error = RomVersionCompatible (ourMinVersion, launchFlags);
if (error) return (error);
switch (cmd)
{
case sysAppLaunchCmdNormalLaunch:
error = AppStart();
if (error)
return error;
//...
break;
case myOwnLaunchCode:
DoSomething()
break;
}
return errNone;
}
Thomas
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/