Determing if the app is runnig on a Desktop-PC or on a Handheld

moster67

Expert
Licensed User
Hello,

Is there any way I can determine from within my code if the application that is being executed is running on a Desktop-PC or on a handheld (PPC)?

For instance:

If desktopPC=true then
do this code.....
Else
do this code....
End If

Maybe I could check if some specific file for Windows Mobile is present or maybe I can check system-information to get the OS running...

Any ideas?

Regards,

Moster67
 

giannimaione

Well-Known Member
Licensed User
Ciao Moster67,

ti perdi in un bicchiere d'acqua: :)

cPPC - True if the application is running on a Device and false if it is running on the Desktop.
 
Top