the following code check the platform in runtime
Microsoft MVP - Mobile Devices
Smartphone Developer Network
> I have an application that runs both Pocket PC and Pocket PC 2002.
> However, I have two executable for each platform. The difference
> between the executable is very minor. Is there a variable that I can
> check for in my code to distinquish between PPC and PPC 2002? This
> will help me merge both execuatble into one.