64-bit Compilation

Top  Previous  Next

When compiling a 64-bit application using the C++ class interface, you must define the preprocessor constant WIN64 in your compiler settings.  This allows the correct version of the DTWAIN DLL to be loaded.  If WIN64 is not defined, the 64-bit DTWAIN program may fail to run correctly.

 

Preprocessor constants are usually defined on the compiler's command line (usually with the -D option).  Please consult your compiler manual for more information.