Does anyone know a way to determine programmatically whether or not an
app is running on the Simulator?  I'd like to know this so I can avoid
calling SysGlueTrapExists() when running on the Simulator.  (Calling
SysGlueTrapExists() on the Simulator causes a debugger break.)

By "the Simulator" I assume you mean PalmSim, not the old Mac Simulator, right?

If so, then it seems like maybe you're linking against the Mac Simulator version of the PalmOSGlue library, when in fact you should be linking with the regular (device) version. Or at least I didn't see any other obvious way to trigger a fatal error/debugger break.

-- Ken
--
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

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

Reply via email to