Visual Basic .NET » Windows Registry and File I/O
Issues in porting from VC6.0.VS2003 to VS2005 -- RPatil --



Hi all,

I get the following linker error when compiling a project written in VS2003. net

fatal error LNK1104: cannot open file 'mfc71d.lib'
How do I solve this ? 


Here are two more errors :

1)
error LNK2019: unresolved external symbol "int __stdcall lstrlenWInternal(wchar_t const *)" (?lstrlenWInternal@@YGHPB_W@Z)
referenced in function "int __stdcall ATL::CompareStringWFake(unsigned long,unsigned long,wchar_t const *,int,wchar_t const *,int)"
(?CompareStringWFake@ATL@@YGHKKPB_WH0H@Z)

2)
error LNK2019: unresolved external symbol "int __stdcall lstrcmpiWInternal(wchar_t const *,wchar_t const *)"
(?lstrcmpiWInternal@@YGHPB_W0@Z) referenced in function "int __stdcall ATL::lstrcmpiWThunk(wchar_t const *,wchar_t const *)"
(?lstrcmpiWThunk@ATL@@YGHPB_W0@Z)
../debug/lvreg.dll : fatal error LNK1120: 2 unresolved externals

from net I found out that Putting #undef lstrlenW after the include solved the problem.
but this is not working for me.
can someone elaborate the above said solution ?

thanks and regards patil

[Submit Comment]Home