> Anyone know how to set different values to a defined variable for emulator
> and a real unit, this doesnt seem to work at all:
>
> #if EMULATION_LEVEL != EMULATION_NONE
> #define delay 20000
> #else
> #define delay 120000
> #endif
this is done at compile time :)) not a run-time :P
you need to dynamically check if the emulator is available, and that
can be done using the HostControl.h file/API's that you can find
in the POSE download :)
there is an API call to determine whether or not you are on POSE.
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/