on 8/24/00 1:29 PM, Danny Epstein at [EMAIL PROTECTED] wrote:
> "JB Parrett" <[EMAIL PROTECTED]> wrote in message
> news:22175@palm-dev-forum...
>> #if EMULATION_LEVEL != EMULATION_NONE
>> // You are on the emulator
>
> Correction: You are on the simulator.
>
>> #else
>> // You are on a device
>> #endif
>
> The term EMULATION_LEVEL is misleading. We now use the term "simulator" to
> refer to this. The simulator is a version of Palm OS that's compiled as a
> static library for Mac OS.
Good catch: I wasn't fully awake this morning when I grabbed those lines
from an old project (back in the days when I used the Simulator because the
Emulator wasn't as handy as it is now).
I'd use the Ftr Manager approach suggested earlier by Chris Faherty:
if (FtrGet('pose', 0, &temp) == ftrErrNoSuchFeature)
// Not on POSE
JB
----------------------------------------------
JB Parrett [EMAIL PROTECTED]
Palm, Inc.
We grow a lot faster than trees,
so we miss a lot of stuff. - B. Andreas
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/