Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (alibaba, howardR, basik85278), 756 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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 | chip programmers | 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