Unregistered
November 8, 2004, 16:36:34
This code leads to a "debug assertion failed" violation
Grabber::tVidNrmListPtr pVidNrmList =
grabber->getAvailableVideoNorms();
pVidNrmList = NULL;
When it gets to the line of code in the ~refcount_ptr destructor that it does
delete get()
, this violation message comes up:
Debug Assertion Failed!
Program: ...
File: dbgdel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
HELP!
Thanks,
Chris (crs8@lehigh.edu)
Grabber::tVidNrmListPtr pVidNrmList =
grabber->getAvailableVideoNorms();
pVidNrmList = NULL;
When it gets to the line of code in the ~refcount_ptr destructor that it does
delete get()
, this violation message comes up:
Debug Assertion Failed!
Program: ...
File: dbgdel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
HELP!
Thanks,
Chris (crs8@lehigh.edu)