Linker Error :LNK2019: unresolved external symbol __CrtDbgReport

S

skrk_536

Hi

I am usign VS 2003. Coding was done in VC++. When I compile my cod
in debug mode I am not getting any error. When I compile the code i
Release mode I am getting the following linker Error.

LNK2019: unresolved external symbol __CrtDbgReport

Any help to solve this is appreciated.

Thanks in Advance.
Karthi


-
skrk_53
 
W

William DePalo [MVP VC++]

skrk_536 said:
I am usign VS 2003. Coding was done in VC++. When I compile my code
in debug mode I am not getting any error. When I compile the code in
Release mode I am getting the following linker Error.

LNK2019: unresolved external symbol __CrtDbgReport

That function is only available in the debug runtime. That's because it is
assumed by the time you get to the release build that you have debugged any
(heap related) problems. Practically speaking your only option is to remove
the call in the release build.

Regards,
Will
 

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

Similar Threads


Top