Odd API Error

Started by Calin Leafshade, Mon 21/02/2011 20:59:28

Previous topic - Next topic

Calin Leafshade

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: D:\AGS\test\Compiled\test.exe
File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgdel.cpp
Line: 52

Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort   Retry   Ignore   
---------------------------

Since the message references a drive that I don't have I assume its a internal thing left in the code.

The crash dump says that a breakpoint has been hit.

Can you shed any light onto this CJ?

Kweepa

Looks like your debug heap is corrupt.
You have probably overwritten some memory, or deleted/freed something prematurely.
Either that, or FMOD did. What fun!
Still waiting for Purity of the Surf II

Calin Leafshade

Found it. I'm not used to all this allocating and release malarky.

It's just not cricket.

monkey0506

The irony of you saying that it's not cricket is, I presume, that no one, and I mean absolutely nobody, understands the rules, point, or attraction to the "game" of cricket.

That's what Douglas Adams told me anyway. ;D

SMF spam blocked by CleanTalk