MDL7 stack corruption

Posted By: sheefo

MDL7 stack corruption - 08/10/09 13:04

Hi. I trying to use the MDL7 library with VC++. I am using the one from the download page.

I think there is a bug when I create an MDL7R object on the stack; I get a stack corruption error when it goes out of scope. When I allocate the object on the heap, I get a heap corruption error.

I have compiled the Mdl7Dump app and the same thing happens. Everything works fine until it reaches the destructor.
Code:
{
MDL7R mdl

// do stuff, or not...

} // Out of scope, stack corruption!



Can you confirm whether this is a bug or not?
Posted By: sheefo

Re: MDL7 stack corruption - 08/10/09 13:34

I found out why. I was using the libary in debug mode when it is a release library. When I compiled it in release mode it worked fine.

Is there a debug library anywhere?
© 2024 lite-C Forums