I have written an app that is trying to do a SysAppLaunch on the iMessenger
 app on the Palm VII.  I am a little new at this, so I am assuming I have
 walked into a big ol' rooking mistake.

 In order to get the cardNo and dbID for iMessenger, I do the following:

    err=DmGetNextDatabaseByTypeCreator(true,&searchState,
                 0,sysFileCMessaging,
                 true,&cardNo,&dbID);

 then, I call:

 MemPtrSetOwner(msg,0);
 err=SysAppLaunch(cardNo,dbID,0,
                         sysAppLaunchCmdAddRecord,
                         (Ptr)msg,
                         &result);

 When I run this, I am getting an err return of 528 (?) and a varying result
 value.

 What the heck am I doing wrong?

 Any advice is greatly appreciated.

 Thanks,
 Mike.






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

Reply via email to