c++ - Porting from Visual Studio 2005 to 2008 or above -
i have project implemented visual studio 2005. need compile 1 time again dont have visual studio 2005 anymore. have access vs 2008, 2010 , 2012. when compile code, got linker errors many of them same. follows:
error 48 error lnk2001: unresolved external symbol "unsigned int (__cdecl* atl::g_pfngetthreadacp)(void)" (?g_pfngetthreadacp@atl@@3p6aixzea) femesh_noacis_amd64.lib i appreciated if can help me fixing linker erro?
apparently want prepare rebuilding missing code matching tool... if issue standing between , successful execution, can seek defining missing symbol satisfy linker:
namespace atl { extern uint (*g_pfngetthreadacp)(); uint privategetthreadacp() { cpinfoex information; atlverify(getcpinfoex(cp_thread_acp, 0, &information)); homecoming information.codepage; } uint (*g_pfngetthreadacp)() = privategetthreadacp; }; c++ visual-studio-2008 mfc visual-studio-2005 atl
No comments:
Post a Comment