Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

ePrint COM objects and DEP on Windows 7 and Vista
Started by Maen Hasan at 06-24-2009 11:14. Topic has 0 replies.

Print Search « Previous Thread Next Thread »
  06-24-2009, 11:14
Maen Hasan is not online. Last active: 8/4/2010 3:25:27 PM Maen Hasan



Top 10 Posts
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 
Post
LEAD Support Fo... » Developer » ePrint API » ePrint COM objects and DEP on Windows 7 and Vista

Powered by Community Server, by Telligent Systems