I would guess then that you're not compiling with VS2008? Your machine might also not support hardware enforced DEP, and it might not be turned on for all programs.
Well since it looks like you'll be continuing down the original path, you might like to Google and read about part of Pixomatic called the Welder.
