Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,513 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MDL7 stack corruption #283863
08/10/09 13:04
08/10/09 13:04
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
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?

Re: MDL7 stack corruption [Re: sheefo] #283869
08/10/09 13:34
08/10/09 13:34
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
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?


Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1