Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Different levels of Windows support in defining _WIN32_WINNT in VS2012

$
0
0

If I define _WIN32_WINNT to different levels in the various modules (DLLs and EXE) of an application will this cause run-time problems ?

As an example if I have in module AAA the targetver.h:

#pragma once
#include <WinSDKVer.h>
#define _WIN32_WINNT _WIN32_WINNT_WIN7
#include <SDKDDKVer.h>

and in module BBB the targetver.h:

#pragma once
#include <WinSDKVer.h>
#define _WIN32_WINNT _WIN32_WINNT_WINXP
#include <SDKDDKVer.h>

will this cause problems if module AAA calls functionality in module BBB using structures defined in the Windows header files ?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>