błąd C2039: „SetDefaultDllDirectories”: nie jest członkiem globalnej przestrzeni nazw
xxx vc atlmfc zawiera atlcore.h (638): błąd C2039: „SetDefaultDllDirectories”: nie jest członkiem „globalnej przestrzeni nazw”
#ifndef _USING_V110_SDK71_
// the LOAD_LIBRARY_SEARCH_SYSTEM32 flag for LoadLibraryExW is only supported if the DLL-preload fixes are installed, so
// use LoadLibraryExW only if SetDefaultDllDirectories is available (only on Win8, or with KB2533623 on Vista and Win7)...
IFDYNAMICGETCACHEDFUNCTION(L"kernel32.dll", SetDefaultDllDirectories, pfSetDefaultDllDirectories)
{
return(::LoadLibraryExW(pszLibrary, NULL, LOAD_LIBRARY_SEARCH_SYSTEM32));
}
#endif
wszystkie funkcje nie są realizowane przez VS
więc jak rozwiązać ten problem?
Czy jest coś nie tak z libray? Uruchomię ten program w VS2012