Hi all, I am linking this code to the .dll I made, but I did compiled it as MT Debug DLL - the code is fairly simple (few classes) that delete only what they create (and what I create outside - I delete myself). The interesting thing is that this error only happens when using data model for list/tree view. I'll try to compile test.cc without any linking to other libs other than gtkmm, and will post results.
Thanks, Vladimir. On 12/19/06, Christopher Raine <[EMAIL PROTECTED]> wrote:
Vladimir, I just compiled and tested both programs that Paul sent without problems. The _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) assertion can get fired for several reasons. Either memory is getting freed twice, heap/stack corruption has occured or two(or more) different types of the win32 runtime libraries are been used. In the last case you are not allowed to free memory in a dll/exe that has been allocated in another dll/ exe if you are not using the DLL versions of the runtime libraries. Are you linking against the Multithreaded-DLL-Debug version of the runtime libraries? regards, Christopher Raine
-- "There's no room for ideals in this mechanical place. There has to be passion. "
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
