Whats the meaning of this
When I compile my program in release mode I get the following error message when the program starts:
Debug Assertion Failed!
Program.....
File: dbgheap.c
Line 1044
Expression _CrtIsValidHeapPointer(pUserData)
Whats the meaning of this error and what is my fault in the program so that the program will run?
Re: Whats the meaning of this
Probably an uninitialized pointer (pUserData?).
Re: Whats the meaning of this
How can I find the pointer where is not initalized?
Re: Whats the meaning of this
The line where you assert is a good place to start.
Re: Whats the meaning of this
Hit ALT+7 when the debug assertion poped up and take a look at the call stack. There you'll find the calling function (+line) easily.
Oliver.