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

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
 
M

Mike DeKoker

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?
 

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