Visual Studio 2005, 2008

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

 

In Visual Studio 2008 or Visual Studio 2005 with .NET Framework 2.0 SP1, generated EXE files have a Data Execution Prevention flag set. To get your application running under Windows Vista, you need to remove this flag.

 

If you get an error message with the 800703e6 then the cause is the DEP flag.

 

Licence Protector 2.7 DLL Version up to 2.6.3 (Remove DEP Flag)

You can use the following batch script to remove it (for VS 2008):

 

 

call "%VS90COMNTOOLS%vsvars32.bat"
editbin.exe /NXCOMPAT:NO YourApplication
pause

 

If the environment variable %VS90COMNTOOLS% is not set or points to the wrong directory, then search for the vsvars32.bat. The bat file is for the default installation in the folder c:\programs\microsoft visual studio9.0common7\tools

 

You could also use a post-built event using this command line:

 

call "$(DevEnvDir)..\tools\vsvars32.bat"
editbin.exe /NXCOMPAT:NO "$(TargetPath)"

 

Compiler settings for DEP Flag

 

For further information have a look at the following page:
http://blogs.msdn.com/ed_maurer/archive/2007/12/14/nxcompat-and-the-c-compiler.aspx

 

 

 

 

Starting with Service Pack 2.6.4 the compile switch is no longer required, if you use the uncompressed DLL version in the folder Licence Protector\2.7\files for distribution\uncompressed.

 

Visual Studio allows an installation without registering the DLL. See details - use DLL without registering the DLL.

 

 

See also 64bit operating systems.

 

Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.7/help2000/index.html?visual_studio_2008.htm