Re: Vista users: machine level exception when calling external functions
- Posted by jeremy (admin) Jul 30, 2008
- 940 views
DEP is activated only in Vista and XP SP2 and later. People with older versions/service packs are not affected. Some older processors may not support it either.
Is it something you specifically have to enable? I have Windows Vista Home Premium, Intel Quad Core2 Q6600 processor. SP1. Windows update does not say I have anything more to do. But on my install, I use C libraries just fine and also those C libraries use routines I give to them via call_back(). Would this not trigger DEP protection?
How DEP is configured depends on various things. To check how your settings are, go to Configuration Panel -> System -> Advanced. Then, two courses are available:
- Check which programs DEP applies to: Go to Performances -> Data Execution Prevention and see which radios are checked, and whether there is an exclusion list.
Ok, my DEP settings are: "Turn on DEP for essential Windows programs and services only". Now, is this for call() only or also call_back() type functions? Is there some sort of little test program I can try? I can patch Euphoria and then make sure it all works as it should?
Jeremy