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?