Currently, return types such as DTWAIN_SOURCE will either be 4 bytes in length for the 32-bit version of DTWAIN, or 8 bytes in length for the 64-bit version of DTWAIN. The goal is to make return types that vary between versions of DTWAIN consistent.
The DTWAIN_SOURCE and other types will now be made an 8 byte integer for both the 32-bit DLL and 64-bit DLL. This allows programming languages that "guess" the return type of exported functions to be one consistent integer type (Python, for example).
Currently, return types such as
DTWAIN_SOURCE
will either be 4 bytes in length for the 32-bit version of DTWAIN, or 8 bytes in length for the 64-bit version of DTWAIN. The goal is to make return types that vary between versions of DTWAIN consistent.The DTWAIN_SOURCE and other types will now be made an
8
byte integer for both the 32-bit DLL and 64-bit DLL. This allows programming languages that "guess" the return type of exported functions to be one consistent integer type (Python, for example).