This may seem daft
when i compile for desktop or PPC
i use this definition
but what could i use for smartphone.?
#ifdef _WIN32_WCE
when i compile for desktop or PPC
i use this definition
but what could i use for smartphone.?
#ifdef _WIN32_WCE
A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.
#if _WIN32_WCE==300
#pragma message ( "Compiling for PocketPC (3.0, using GAPI)" )
#define USE_GAPI
#elif WIN32_PLATFORM_WFSP=100
#pragma message ( "Compiling for SmartPhone (using GAPI))" )
#define USE_SMART
#endif
freakedout wrote:
- Code:
#if _WIN32_WCE==300
#pragma message ( "Compiling for PocketPC (3.0, using GAPI)" )
#define USE_GAPI
#elif WIN32_PLATFORM_WFSP=100
#pragma message ( "Compiling for SmartPhone (using GAPI))" )
#define USE_SMART
#endif
Ive tried this above but i only get the Compiling ppc message though the echo at the end of my build gives the smartphone
Where am i wrong
#if defined(WIN32_PLATFORM_PSPC)
// It's a Pocket PC
#elif defined(WIN32_PLATFORM_WFSP)
// It's a SmartPhone
#endif