Right, but I meant why a #pragma (not even sure what it would do) instead of
run-time determination of the current platform?  If you want to include or
exclude certain blocks of code at compile time, then it sounds like you want
old fashioned #if / #ifdef / #else / #endif preprocessor logic.

-slj-


-----Original Message-----
From: OmniSoftSystems [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 4:04 PM
To: Palm Developer Forum
Subject: Re: CW7 pragmas


POSE does not support all the features and functionality provided by the
actual device, especially hardware dependant code.  A Visor or Symbol laser
scanning option is not fully debug enabled from POSE.  Most hardware
interrupts and device driver code is only made available directly from the
device.  If the same code is attempted in POSE, death is eminent.

"Scott Johnson (Bellevue)" <[EMAIL PROTECTED]> wrote in message
news:46684@palm-dev-forum...
>
> > From: OmniSoftSystems [mailto:[EMAIL PROTECTED]]
> > Using CW7 is there a pragma which defines
> > the target as device or emulator?
>
> No, why would you even want such a thing?


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