I have some code that should be executed on the device
only (ARMV4) not in the emulator (x86).
I've been looking for a conditional compilation statement
("#if...") to use, but have not found one.
Regards,
Mikael
You can then define a constant for this configuration - e.g. DESKTOP
Project > ProjectName Properties > Configuration Properties > Conditional
Compilation Constants - add to the list (separate with semi colon)
You can then use conditional compilation to perform different actions for
the desktop and device configurations e.g.
#if DESKTOP
//call desktop specific function
#else
//call device function
#endif
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
"Mikael" <n...@spam.com> wrote in message
news:058301c390b5$2aa6a330$a301...@phx.gbl...
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
"Peter Foot [MVP]" <feed...@nospam-inthehand.com> wrote in message
news:O%23VveLO...@tk2msftngp13.phx.gbl...