Hi guys ...
I'm using visual C++ .net 2003 and am having linker problems when building the following managed class library (DLL) project :
using namespace System;
public __gc class Base
public __gc class Derived : public Base
It compiles successfully, but I get the following linker error :
TestFile error LNK2001: unresolved external symbol "void __cdecl __CxxCallUnwindDtor(void (__thiscall*)(void *),void *)" (?__CxxCallUnwindDtor@@$$J
The problem can be solved by commenting out the base destructor. However this is not a real solution ... as the base destructor will have some necessity in my project.
Anybody have any ideas why this happens ... and any possible workarounds would be much appreciated ?
Other postings of the same question include :