CxxCallUnwindDtor?

G

Guest

I have an abstract class that inherits from 'MarshalByRefObject' which is also abstract. When I add a destructor to my class Link errors with message

error LNK2001: unresolved external symbol "void __cdecl __CxxCallUnwindDtor(void (__thiscall*)(void *),void *)" (?__CxxCallUnwindDtor@@$$J0YAXP6EXPAX@Z0@Z

If I comment out the destructor in both .h and .cpp then Link succeeds

Any help, please..

Eugene Lerner
 
G

Guest

Hello
I try to build my first assembly from an old unmanaged code base
After days of work fixing all compiler errors, I got the same linker error as below and I'm at a loss
I searched the whole net but Eugene and I are the only one who have this problem
I need the destructor
Can anybody help with this issue

Ralf Jablonsk

----- Eugene Lerner wrote: ----

I have an abstract class that inherits from 'MarshalByRefObject' which is also abstract. When I add a destructor to my class Link errors with message

error LNK2001: unresolved external symbol "void __cdecl __CxxCallUnwindDtor(void (__thiscall*)(void *),void *)" (?__CxxCallUnwindDtor@@$$J0YAXP6EXPAX@Z0@Z

If I comment out the destructor in both .h and .cpp then Link succeeds

Any help, please..

Eugene Lerner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top