المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Detecting Windows SDK version using macros



C++ Programming
04-08-2009, 09:13 PM
Hi there,
I was wondering if there is any standard way to detect which version of Windows SDK is installed using macros. SDK 6.1 defines some function signatures a bit differently than the Platform SDK that ships with VC++ 2005. If there is such a trick, I was thinking of using the new function signature for the newer SDKs while still letting the the people without the windows sdk 6.1 compile. Or, is there a better way to handle this situation? Thanks in advance.

--
Regards,
- Tareq