xxx\_vc\atlmfc\include\atlcore.h(638):错误C2039:"SetDefaultDllDirectories":不是"全局命名空间"的成员
#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
Run Code Online (Sandbox Code Playgroud)
其中的功能都没有被VS实现,
所以如何解决这个问题呢?
libray有什么问题吗?我在VS2012中运行这个程序
mfc ×1