DTWAIN Demo Version Debugging Information

 

Windows 98 Issues and DTWAIN 30-day trial demo versions:

The main DLL that DTWAIN uses is DTWAIN32.DLL.  It is highly recommended that if you plan to use the demo version of DTWAIN32.DLL in a debugging environment or integrated environment (for example, within Visual Basic 6.0), Windows 98 has been reported to not fully support the demo version of DTWAIN32.DLL when debugging applications.  

A program that utilizes the demo version of DTWAIN32.DLL will run standalone in Windows 98 outside of the debugger (i.e. if your program is a standalone executable).  Visual Basic 6.0 has reported problems when debugging the demo version of DTWAIN and using Windows 98.  Therefore you should only debug using the demo version of DTWAIN32.DLL on the following Windows operating systems:

Windows NT
Windows 2000
Windows 2003
Windows XP
Windows Vista

We have not tested the demo version of DTWAIN under Windows ME. 

Note that this only applies to the 30-day trial demo of DTWAIN32.DLL.  The retail version of DTWAIN has no such issues with Windows 98 or ME, and can be used within the debugger for these operating systems.


Access Violation Errors when using DTWAIN demo version:

If you have created an application that will utilize the 30-day demo version of DTWAIN and wish to debug your application, the debugger may detect Access Violation exception errors (0xC0000005 errors).  The reason for the access violation errors is due to some protection that the demo DLL uses. However, there is nothing wrong with DTWAIN, and these errors can be safely ignored.

If using Visual C++, the 0xC0000005 exception can be ignored when debugging by going to the "Debug->Exceptions..." dialog and turn off (highlight the exception and remove) the 0xC0000005 exception (your application must be started already to have the "Debug" menu enabled). A screen shot is below.

For other compilers environments, please consult your compiler or integrated environment's documentation for debugging and ignoring exceptions.

There are no debugger issues with a purchased (non-demo) retail version or free version of DTWAIN.