On 2006-07-25, Dmitry Grinberg <[EMAIL PROTECTED]> wrote:
> try launch code above 0x7000
> pace will not pass through codes below that that it does not know
>
> On 7/25/06, Troy Lokitz <[EMAIL PROTECTED]> wrote:
>> I am calling my program using a custom launch code and have defined a
>> writeinfo var that i set the system as owner for.  Yet when i run the
>> sysuiappswitch command I get the following error:
>>
>> i:\pinky\arm\core\emul68k\src\load68k.c, Line:1028, Unconverted system
>> cmdPBP 6500
>>
>>
>> any ideas what this error means?
>>
>> SysUIAppSwitch (cardNo,dbID,kCustomAppLaunchCmdWriteMail,(MemPtr)writeinfo);

Make that 0x8000 instead of 0x7000.
>From SDK 5r4 include file Core/System/SystemMgr.h:
--------------------------------------------------------------------------------
//------------------------------------------------------------------------
// Custom action code base (custom action codes begin at this value)
//------------------------------------------------------------------------
#define sysAppLaunchCmdCustomBase       0x8000

// Your custom launch codes can be defined like this:
//
//      typedef enum {
//              myAppCmdDoSomething = sysAppLaunchCmdCustomBase,
//              myAppCmdDoSomethingElse,
//              myAppCmdEtcetera
//
//              } MyAppCustomActionCodes;
--------------------------------------------------------------------------------

HTH

Ton van Overbeek

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

Reply via email to