I've got a managed extension library that I'm attempting to convert from MSVC
2003 to MSVC 2005.
I've converted the project file and am now attempting to compile the
application.
I get multiple occurrences of the following linker errors:
extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void
*),void *)" (?___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in
function "int __stdcall ATL::CompareStringWFake(unsigned long,unsigned
long,wchar_t const *,int,wchar_t const *,int)"
(?CompareStringWFake@ATL@@$$FYGHKKPB_WH0H@Z)
Stdafx.obj : error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"
(?.cctor@@$$FYMXXZ)
What do I need to change to get rid of these? I've removed the catch (...),
since I saw somewhere else that that might be the problem, but to no avail.

Signature
Bruce R.
Carl Daniel [VC++ MVP] - 01 Nov 2005 04:44 GMT
> I've got a managed extension library that I'm attempting to convert
> from MSVC 2003 to MSVC 2005.
[quoted text clipped - 16 lines]
> (...), since I saw somewhere else that that might be the problem, but
> to no avail.
Make sure that you're not trying to do something like link VC8-compiled
code with the VC7.1 runtime libraries.
-cd
"Gary Chang[MSFT]" - 03 Nov 2005 02:28 GMT
Hi Bruce,
How are the things going, does MVP Carl's suggestion hit your problem?
Thanks!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.