Preprocessor question Pocket PC vs. Pocket PC 2002?

Preprocessor question Pocket PC vs. Pocket PC 2002?

Post by Sam » Tue, 10 Jun 2003 09:32:11



Is there a preprocessor define in evc++ that i can use in my code to
differentiate between Pocket PC and Pocket PC 2002 code?

Thanks

 
 
 

Preprocessor question Pocket PC vs. Pocket PC 2002?

Post by Andrey Yatsy » Tue, 10 Jun 2003 17:00:16


Answer:
http://groups.google.com/groups?selm=OQkdxsRwCHA.2332%40TK2MSFTNGP09

Andrey Yatsyk


> Is there a preprocessor define in evc++ that i can use in my code to
> differentiate between Pocket PC and Pocket PC 2002 code?

> Thanks


 
 
 

Preprocessor question Pocket PC vs. Pocket PC 2002?

Post by Almon B. Strowge » Tue, 10 Jun 2003 17:20:18


Hi,

#ifdef WIN32_PLATFORM_PSPC
// PPC 2000 or PPC 2002
#if WIN32_PLATFORM_PSPC == 310
// PPC 2002
#elif WIN32_PLATFORM_PSPC == 1
// PPC 2000
#else
// Something else--Maybe future use.
#endif

Hope this helps...

Almon B. Strowger
KOOK Pocket Software


Quote:> Is there a preprocessor define in evc++ that i can use in my code to
> differentiate between Pocket PC and Pocket PC 2002 code?

> Thanks

 
 
 

Preprocessor question Pocket PC vs. Pocket PC 2002?

Post by Almon B. Strowge » Tue, 10 Jun 2003 17:35:15


OOPS

I forgot the 2nd #endif