I have recently moved from vs 2013 to vs 2017. we have this project that has these preprocessor Definitions:
WIN32
DRG_BUILD_DLL
WINVER=0x0600
Now in atlwinverapi.h
I get this error that InitializeCriticalSectionEx
is not a member of global namespace. Any ideas why this problem is happening?
#if (NTDDI_VERSION >= NTDDI_VISTA) && !defined(_USING_V110_SDK71_) && !defined(_ATL_XP_TARGETING)
// InitializeCriticalSectionEx is available in Vista or later, desktop or store apps
return ::InitializeCriticalSectionEx(lpCriticalSection, dwSpinCount, Flags);