Error message: has stopped working

Symptom:

When running a TWAIN EXE file in Windows Vista/7, you may get the following error message:

Cause:

The EXE file is blocked by the DEP (Data Execution Prevention) protection. DEP is a security feature in Microsoft Windows OS.

Solution:

Please turn off DEP for the EXE file. For information on how to turn off DEP, please click here.

If you are using Visual Studio, you can go to Start->All Program->Microsoft Visual Studio->Visual Studio Tools and click Visual Studio Command Prompt. In the console window, run the following command:

editbin.exe /NXCOMPAT:NO $(TargetPath)