Greetings,

I have a function that sublaunches the Digitizer app for calibration using
this code:

   {
    LocalID  digiLID = 0;
    UInt32  result = 0;
    Err   err = 0;
    Boolean  hascursor = true;

    // is the cursor blinking?
    hascursor = InsPtEnabled();

    // locate digitizer app
    digiLID = DmFindDatabase( 0, "Digitizer" );

    if (digiLID)
    {
     if (hascursor)
      InsPtEnable(false);  // hide cursor

     // launch the digitizer applet
     err = SysAppLaunch(0, digiLID, 0, sysAppLaunchCmdNormalLaunch, NULL,
&result);

     if (hascursor)
      InsPtEnable(true);  // show cursor if it was there before
    }
   }


This has been working successfully on all PalmOS3 and higher devices,
including various OS5.x devices, but causes a crash on the Tungsten T3 both
on the real device (which I don't have) and on the T3 Simulator.  When I run
it on the sim, the calibration completes okay, but then I see this error
message on return to my calling app:

"I:\Morpheus\arm\Core\Emul68K\SrcSlowEmu\Run68K.c, Line:3109, Odd aligned
read from 65207461"

Has anyone else encountered this problem, and if so found a solution?

Thanks,

David Thacker


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

Reply via email to