views:

36

answers:

2

i was getting an link error mfc42.lib cant be opened, while porting vc6 to vs2005, i added the lib path form vc6 directory to vs2005 option, but nw i am getting error

link2001 unresolved external symbol "unsigned int (__stdcall* ATL::gfunc()

+1  A: 

I don't think it's wise to mix VS2005 projects with VC6 libraries. It's hard to say what the actual problem is. What I do in such situations is make a new VS2005 project that resembles your original project with regards to settings (GUI/Console, ATL, MFC etc) and see which libraries will be picked up. Then change the translated VC6 project to match these.

Hope this helps.

Regards,

Sebastiaan

Sebastiaan Megens
A: 

Hi,

i have added the vc6 directory path in vs2005 library options, but now i am getting these standard functions linking problem.

please do help me on this.....

error LNK2001: unresolved external symbol "unsigned int (__stdcall* ATL::g_pfnGetThreadACP) (void)" (?g_pfnGetThreadACP@ATL@@3P6GIXZA)

vijay.j