>Nesse, Rustin wrote: > >>Well, this is how you programmatically launch MemoPad: >> >>DmGetNextDatabaseByTypeCreator(true, NULL, sysFileTApplication, >>sysFileCMemo, true, &theCardNo, &theDBID); >> >>// Launch the Memo Pad application. >>if (theDBID) >> SysUIAppSwitch(theCardNo, theDBID, NULL, NULL ); > >For the record, I just added sub-launching capability to my app, and >passing a NULL search state crashes the app. When I allocate a search >state on the stack and pass the address, it works fine. > >Am I missing something? Maybe if you're searching for the >built-in apps >you don't need it? (I'm launching another 3rd-party app). > >Dave Johnson I've only used the above code for launching built in PIM's. I originally got it from the KB awhile back...figured it would work fine for MemoPad, though...I've used it for such a bunch of times, and for Address Book, Mail, etc. I'd guess that you'd need a search state for anything third party...I wonder if this applies to third party apps loaded in the flash? -Rus -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
