I teach Computer Science at
Portland Community College. We are working on including a computer game component to our class programming assignments. DarkGDK/Visual C++ looks like a promising environment for doing this.
It would be useful for our students to be able to use VC++'s built-in
memory leak checking. I have been trying to enable and use it with a 2D Game DarkGDK project. My project compiles OK, but I get a link error:
Quote: "error LNK2019: unresolved external symbol __CrtDumpMemoryLeaks referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)"
I've traced the problem to the Input page of the Linker section in the project properties. The project comes with "Ignore Specific Library" set to: libcmtd, msvcrt, atls. This setting removes the library that defines __CrtDumpMemoryLeaks.
I've experimented with a number of different settings, but no luck so far.
Does anyone know a way to make this work?
Thanks...