On Wed, 29 Sep 1999, Alastair Chisholm wrote:
>
> Hi Gary,
>
> You could try looking at the username. Inside the emulator, the username is
> empty. There's an article from a couple of days ago on how to get the
> username and check if it's emulator - if you can't find it give me a shout
> and I'll dig it out again.
Hmm.. not a completely reliable method though. My Palm Pilot Pro doesn't
have a username for various reasons, while some copies of POSE/XCopilot in
the office do have usernames.
Regards,
John
> Alastair
>
> ----- Original Message -----
> From: Miller, Gary <[EMAIL PROTECTED]>
> > How can my app tell if it's running on the emulator? I want to handle
> things
> > differently depending upon whether my app is running on the emulator or on
> > the device. Is there something like the following code? Perhaps an API
> > call?
> >
> > #ifdef __GNUC__
> > #endif
> >
> >
> >
>
>