DTwainString Class |
Top Previous Next |
For handling strings, the DTWAIN C++ interface uses the DTwainString type.
This type is an alias for a std::string when the ANSI version of DTWAIN is used (DTWAIN32.DLL or DTWAIN64.DLL) and is a Unicode string when the Unicode version of DTWAIN (DTWAIN32U.DLL or DTWAIN64U.DLL) is used.
Internally, the ANSI string is the STL string class std::string. The DTWAIN Unicode string is of type std::wstring, therefore the STL string class interface can be used on a DTwainString. |