JB Parrett wrote:
> on 8/24/00 10:06 AM, Rick Gadbois at [EMAIL PROTECTED] wrote:
>
> > Is there a way to tell from within your program if it is running in the
> > emulator or a real palm pilot??
>
> #if EMULATION_LEVEL != EMULATION_NONE
> // You are on the emulator
> #else
> // You are on a device
> #endif
>
Those are compile time directives for conditional inclusion of code. I
don't think that's what Rick was after. As I understood the question,
he has one PRC and he wants it to be able to tell, at run time,
whether it is in the emulator or in a real palm pilot.
Perhaps looking into the behavior of the various Host*() functions
might lead you to a solution. Reading the Emulator docs might not
hurt *grin*.
--
Adam Wozniak Chief Architect
Surveyor Corporation
[EMAIL PROTECTED] 4548 Broad Street
[EMAIL PROTECTED] San Luis Obispo, CA 93401
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/