Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Data Execution Prevention Collapse All
Subject Author Date
claude laflamme Mar 30, 2006 - 2:17 PM

Hi,
have you ever heard a problem with Data Execution Prevention (DEP)? This is new stuff from Microsoft for XP SP2. My application failed to start. So, I’ve created a MFC based-dialog project form scratch and it run. If a only insert those two lines:
#include <Prof-UIS.h>
CExtControlBar g_wndCtrlBar;

, it fails with error message: Unhandled exception in Test.exe (NTDLL.DLL): 0xC0000005: Access Violation

Tanks

Technical Support Mar 31, 2006 - 7:18 AM

As you know DEP prevents some code from executing in the system memory that is reserved for data. However, it can also block programs that simply use nonstandard programming techniques such as self-modifying code. Unfortunately we do not know why your Prof-UIS-based application causes this DEP problem. We cannot even check this issue because we failed to reproduce this problem on all our computers with WinXP SP2 installed.

We can only suggest you to turn off the DEP control or add your application to the DEP exclusion list:

1. Right-click on My Computer, choose Properties, click the Advanced tab.
2. Click the Settings button in the Performance panel, and click the Data Execution Prevention tab.
3. Select the Turn on DEP for all programs except those I select radio button.
4. Click the Add button and just add that mapping software to the list of exceptions.

You can get a detailed description of the Data Execution Prevention (DEP) here http://support.microsoft.com/default.aspx?kbid=875352&product=windowsxpsp2kb#5