Here is some code I am getting a FATAL ERROR with:

We are trying to use sysapplaunch and we keep getting back a "Fatal Error",
we have been successful using sysUIswitch but cannot seem to get this
working, I have included a snipet of code as follows.

            d1 = MemPtrNew(100);
//            MemPtrSetOwner(d1,DmFindDatabase(0, "Acrobat Reader"));
            MemPtrSetOwner(d1,0);
            DisplayLCD("P1","");
            dbid = DmFindDatabase(0, "Acrobat Reader");
            if(dbid == 0)
            {
              DisplayLCD("DB NOT FOUND","");
              GetKey();
            }
            SysAppLaunch(0,dbid,0,sysAppLaunchCmdNormalLaunch,d1,NULL);
            DisplayLCD("P2","");
            handled = true;
               break;



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