Everytime I try to instantiate an instance of an
unmanaged C++ class inside of a managed C++ class, I get
the following two linker errors:
TestDll2 error LNK2001: unresolved external symbol "void
* __cdecl operator new(unsigned int)" (??2@$$FYAPAXI@Z)
TestDll2 error LNK2001: unresolved external symbol "void
__cdecl operator delete(void *)" (??3@$$FYAXPAX@Z)
It seems like the new operator only works on managed C++
classes, and that I need to load or link to something in
order to get unmanaged versions of the new and delete
operators. Can anyone shed some light on this for me?
Thanks in advance!
Sincerely,
Jonathan DeCarlo