All project created with MSVC have stdafx, which is precompiled headers, which I know what they are but what about targetver.h ? It includes SDKDDKVer.h, and I can’t find what is that header about.
What is this for ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
targetver.handSDKDDKVer.hare used to control what functions, constants, etc. are included into your code from the Windows headers, based on the OS that you want your program to support. I believe thattargetver.hsets defaults to using the latest version of Windows unless the defines are specified elsewhere.SDKDDKVer.his the header file that actually defines the#definesthat represent each version of Windows, IE, etc.