Hi, I'd like to have a single set of source for multiple platforms (Pocket PC 2003, Bitsy+). Is there any way to read the platform, like IAGM, from within code? Is there a define to check? I'd like to disable the Bitsy specific code, like reading keypad, when I'm on the Pocket PC. Thanks, -Patrick
#if defined(WIN32_PLATFORM_HPC2000)   // H/PC 2000 #elif defined(WIN32_PLATFORM_HPCPRO)   // H/PC Pro #elif defined(WIN32_PLATFORM_PSPC)   // Pocket PC   #if (WIN32_PLATFORM_PSPC == 1)     // Pocket PC 2000   #elif (WIN32_PLATFORM_PSPC == 310)     // Pocket PC 2002   #else     // Pocket PC 2003   #endif #elif defined(WIN32_PLATFORM_WFSP)   // Smartphone #else   // ADS Device #endif