unresolved external symbol "void * __cdecl operator new(unsigned int)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi again guys

This is a follow-up question. This error - error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@$$FYAPAXI@Z) - seems to be a popular error and I am wondering what is causing it. I am wrapping an unmanaged class in a managed wrapper class and building it as a dll to use in c#. Any answers guys

Thanks, C
 
It could be that your project's settings aren't configured for mixed
managed/unmanaged code. Check out this link:

http://msdn.microsoft.com/library/d...tsfrompureintermediatelanguagetomixedmode.asp

Hope this helps.

-Mike DeKoker

CP said:
Hi again guys,

This is a follow-up question. This error - error LNK2001: unresolved
external symbol "void * __cdecl operator new(unsigned int)"
(??2@$$FYAPAXI@Z) - seems to be a popular error and I am wondering what is
causing it. I am wrapping an unmanaged class in a managed wrapper class and
building it as a dll to use in c#. Any answers guys?
 
Back
Top