06-24-2009, 11:14
|
Maen Hasan

Joined on 08-05-2004
Posts 2,766
|
ePrint COM objects and DEP on Windows 7 and Vista
|
|
|
|
Some of our customers noticed that when using the ePrint 5 COM objects inside a .Net project under Windows Vista and Windows 7, the JobInfoEvent doesn't fire on PCs that support hardware Data Execution Prevention (DEP). If you face this issue, you can workaround it by marking your assembly as non-DEP compliant. The built program must not be marked with the"IMAGE_DLLCHARACTERISTICS_NX_COMPAT" bit. You do this by adding the below post-build event.
REM Mark project as DEP Noncompliant call "$(DevEnvDir)..\..\VC\bin\vcvars32.bat" call "$(DevEnvDir)..\..\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"
Maen Badwan LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|