Valhalla Legends Forums Archive | Advanced Programming | Running warden modules without triggering DEP

AuthorMessageTime
Strilanc
I adapted some vb6 code posted by Ringo to load and run warden modules. I moved as much of the logic to managed code as I could, but the dynamic loading and running of modules is still in the DLL.

It works great, except when I try to use it under windows Vista. DEP catches it (for good reason!). I'm looking for pointers on how to 'properly' dynamically load and run executable code.
May 23, 2009, 2:09 AM
Strilanc
As is typical, I search for awhile, post on a forum, THEN find a probable answer from more search.

It looks like using VirtualAlloc instead of GlobalAlloc will allow me to do the necessary flagging.
May 23, 2009, 2:25 AM

Search