Excellent.  Thanks so much.  After your suggestion, I looked under
HostControl.h where HostGetHostID() is defined, and found the following
nugget:

// Use these to call FtrGet to see if you're running under the
// Palm OS Emulator.  If not, FtrGet will return ftrErrNoSuchFeature.
#define kPalmOSEmulatorFeatureCreator   ('pose')
#define kPalmOSEmulatorFeatureNumber    (0)

Looks this would work as well as your suggestion.

Thanks again,

-DGA

> Dane,
> 
> use:
> if ( hostIDPalmOSEmulator  == HostGetHostID( ) )
> {
>       // on emulator
> }
> else
> {
>       // not
> }
> 
> E/.
> ________________________________________________________
> This message sent using the Infowave Wireless Business Engine(tm)
> 
> Evan Wise
> Sprite Herder
> infowave
> E: [EMAIL PROTECTED]
> T: 604 473 3779
> F: 604 473 3633
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> 

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