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

-- 
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