Uninitialize the DTWAIN DLL
|
Before the application closes, the DTWAIN_SysDestroy function must be called. When this function is called, DTWAIN guarantees that TWAIN is unloaded safely before the app is closed. DTWAIN_SysDestroy will fail and return an error, if any TWAIN source is actively acquiring images or has an enabled user interface. Applications must close all sources before destroying the DTWAIN system. Forcing application termination without proper shutdown may result in undefined behavior.
|