Page 1 of 1

[resolved] Detecting PocketPC and Smartphone devices

PostPosted: Nov 21, 2007 @ 11:41am
by norwy
I am developing with Gapidraw, which allows to share the same code between win32 platform (it works well with PocketPC and Desktop platform) and I am starting to compile my project for Smartphone devices.

I don't have to compile the functions that manage touchscreen support so I need to know the difference between PocketPC and Smartphone devices, is there a #define that can tell me ?

I think I would be exactly the same way to make the difference between the desktop and the PocketPC device in the code using the #define _WIN32_WCE

PostPosted: Nov 28, 2007 @ 10:24pm
by norwy

PostPosted: Nov 29, 2007 @ 12:36am
by Kzinti

PostPosted: Jan 30, 2008 @ 5:02pm
by mm40
Yes norwy, use that code you found, it is much better to do it at runtime than to compile 2 different binaries, actually there is no point in compiling 2 binaries at all now, even the same installer works on both PPC and SP now.

PostPosted: Jan 31, 2008 @ 1:36am
by norwy

PostPosted: Feb 26, 2008 @ 6:53pm
by mm40