xxx\\vc\\atlmfc\\include\\atlcore.h(638): error C2039: “SetDefaultDllDirectories”: is not a member of \"global namespace\"
#ifndef _USING_V110_SDK71_
//
I also met this issue on VS 2012.
This is caused because you are using the Windows SDK 7.1 which lacks of SetDefaultDllDirectories function call in VS 2012 (VC11). You may notice there is #ifndef _USING_V110_SDK71_ guarded flag to avoid using undefined SetDefaultDllDirectories.
Just define _USING_V110_SDK71_ in your project to let SDK knows you are in this toolset or upgrade to higher version of SDK.