Data Execution Prevention (DEP) in Vista & Windows7

Posted on | December 1, 2009 | No Comments

ObjectWindows Exception: Create fail for windows PCLTools/PCLWorks, 0, TMainFrame

A recent new Windows option can cause problems with PageTech programs PCLTool, PCLView and PCLWorks (all compiled with Borland). The option is ‘Data Execution Prevention’ (DEP).

If your hardware allows for hardware-based DEP then some PageTech programs need to be added to a list of exempt programs. Or, you will get a false-positive Data Execution Prevention (DEP) errmsg when you execute PCLWorks.exe, PCLTool.exe, PCLView.exe or any other .exe that was build with an older version of the Borland compiler. So, you’ll need to exclude our GUI .exe’s from DEP.

For more information about DEP: Data Execution Prevention

Here are the steps to add our GUI .exe’s to the exception list:

  1. Open the Control Panel
  2. Select “System”
  3. Select ‘”Advanced Settings”
  4. Under “Performance” select “Settings”
  5. If DEP is available on your system, a DEP tab will be present in the Performance Setting dialog. Select this tab if it’s present (if it’s not present, then your system doesn’t have DEP).

There are two possible DEP settings:

“Turn on DEP for essential Windows programs and services only”

or

“Turn on DEP for all programs and services except those I select”

If “Turn on DEP for essential Windows programs and services only” is selected,
then DEP will NOT interfere with PCLTool and PCLView.

If “Turn on DEP for all programs and services except those I select” is selected, then you need to add PCLTool.exe and PCLView.exe to the list of exempt programs.

  1. Select ‘Add’
  2. Browse to PCLTool.exe (typically in C:\Program Files\PageTech\PCLTSDK_870 or C:\Program Files (x86)\PageTech\PCLTSDK_870 ). Or, PCLWorks.exe.
  3. Repeat for PCLView.exe, and any other executables that has conflicts with DEP.

Note: switching the setting to “Turn on DEP for essential Windows programs and services only” will also allow PCLTool to run, but it turns off the security protection that DEP may be providing for other programs that may not be false positives.

This problem will be solved when we release V9.0 in the first quarter 2010. V9.0 will not have any Borland compiled programs.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Comments

Leave a Reply

You must be logged in to post a comment.