I just hit the following piece of code, whish was part of a GetParentApp()
function:
curAppInfoP = SysGetAppInfo(&rootAppInfoP, &appInfoP);
if (rootAppInfoP && rootAppInfoP->dbP)
if (DmOpenDatabaseInfo(rootAppInfoP->dbP, &dbid, NULL, NULL, &card,
NULL)==0) {
if (dbid && (card<MemNumCards())) // Hack:
when in Launcher, DmOpenDatabaseInfo succeeds, but returns card=4288 ??? !!!
[snip]
Can somebody clarify why it actually returns no error and invalid card
number?
Even better, can somebody tell me how to check who sub-launched the
application?
Thanks,
Bobby
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/