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

AuthorMessageTime
StrilancI 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 22, 2009, 09:09 PM
StrilancAs 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 22, 2009, 09:25 PM