Data Execution Prevention

For questions about using Classic.

Post » Wed Mar 11, 2009 7:13 am

viewtopic.php?f=3&t=2325&p=17591&hilit=friend#p17591
Heres a tip for those of you who can not run construct or anything made with it. TURN OFF DEP!
Ashley was right. When I got on my friend's computer I turned it off for him since he did not know how and construct finally worked! If you have Vista 64 it automatically has DEP turned on. I think in Vista 32 it has to be turned on manually so those with 32 shouldnt have a problem. If you dont know how to turn off DEP here is where I found out how --> http://www.vistax64.com/tutorials/12077 ... sable.html
B
2
S
1
G
4
Posts: 239
Reputation: 1,778

Post » Wed Mar 11, 2009 1:25 pm

I cannot imagine why DEP conflicts with Construct. AFAIK, DEP prevents you executing random bits of memory. Well, I don't know of anywhere Construct does that. Any DEP programmers know where this might come from? Maybe it's a bug we haven't fixed yet which DEP picks up on.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Wed Mar 11, 2009 1:34 pm

I wonder if it's something to do with the IDE it's compiled with, or the SDK.

Could users who have a problem with it post what plugins it came up for - that is, if it's not all of them..

Thanks.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Wed Mar 11, 2009 10:40 pm

oh you want the plugins? crap I knew I shoulda wrote them down, but to be honest it was a little more than half of em. I know 8Dir behavior was one. Sprite object was NOT one. ummm. crud I dont remember any other ones. Maybe the next time I get to a computer with DEP ill turn it on and see what pops up when I run construct.
B
2
S
1
G
4
Posts: 239
Reputation: 1,778

Post » Wed Mar 11, 2009 10:47 pm

Sounds good, post whenever you can with the info.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Thu Mar 12, 2009 12:47 am

crap, I'm moving to a Vista64 machine!

DEP marks code loaded for execution and allocated by the user, so you cannot move the next instruction pointer to memory that's not for execution.

This essentially kills both buffer overflow attacks AND polymorphic code.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Thu Mar 12, 2009 3:18 am

We don't use polymorphic code (nor, in theory, buffer overflows) so DEP shouldn't be an issue - a full list of the exact plugins that have errors under DEP would be useful, since they are compiled with a variety of tools, and it might help us track down the issue.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Thu Mar 12, 2009 5:06 am

OK I had construct (the RICH Build) installed in the default directory. all the plugins are located in C:\Program Files\Scirra\Construct\Plugins\ and end with .csx (998) at the end. Heres a list of all the affected ones that popped up.
8DirMov
Array
AudioConverter
BallMov
BalloonTip
Binary
Box
Button
Canvas
CarMov
Clipboard
Combobox
CommonDialog
Date
DirectSound
Download
DragDropMov
Dropshadow
Edit
Function
Gradient
GridMovement
HashTable
HTML
Imagelist
ImageManip
INI
Layout
Light
List
ListBox
Messagebox
Minimap
Mod
Particles
Path
Print
Process
Progress
Registry
SelectionBoxMov
SystemInfo
Text
TileBackground
TTS
VersionInfo
Window
WrapMov
Zip

Then construct starts and you can use any but those plugins. DEP can be enabled and disabled easily. I just did it on my computer to get this list. So if you guys need to you could always toggle it and test things out.
B
2
S
1
G
4
Posts: 239
Reputation: 1,778

Post » Thu Mar 12, 2009 11:04 am

Those are all the plugins written in Visual C++ 6.0. Perhaps there's a setting wrong or it's just incompatible (it was made long before anything like DEP existed). All the plugins and behaviors made in Visual Studio 2005 or later don't appear on the list...
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Thu Mar 12, 2009 11:06 am

Yeah I noticed that, well, all the more reason to port to CVS.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests