Jack Norton
11-08-2006, 08:28 AM
I got a weird error on VC - maybe someone can help, or maybe is just an obscure bug :)
I simply start my game and exit and I get the attached image error. If I click "retry" I see the execution on dbgheap.c, this piece of code:
if (!CheckBytes(pbData(pHead) + pHead->nDataSize, _bNoMansLandFill, nNoMansLandSize))
_RPT3(_CRT_ERROR, "DAMAGE: after %hs block (#%d) at 0x%08X.\n",
szBlockUseName[_BLOCK_TYPE(pHead->nBlockUse)],
pHead->lRequest,
(BYTE *) pbData(pHead));
Curiously on release mode nothing happens. Also a friend tested on CW and no bug. So must be something relative only to Visual C (I have version 6).
If anyone has any guess, is welcome :)
I simply start my game and exit and I get the attached image error. If I click "retry" I see the execution on dbgheap.c, this piece of code:
if (!CheckBytes(pbData(pHead) + pHead->nDataSize, _bNoMansLandFill, nNoMansLandSize))
_RPT3(_CRT_ERROR, "DAMAGE: after %hs block (#%d) at 0x%08X.\n",
szBlockUseName[_BLOCK_TYPE(pHead->nBlockUse)],
pHead->lRequest,
(BYTE *) pbData(pHead));
Curiously on release mode nothing happens. Also a friend tested on CW and no bug. So must be something relative only to Visual C (I have version 6).
If anyone has any guess, is welcome :)