This function frees the TWAIN DLL from the memory. (This is the TWAIN DLL loaded using the IKScanLoadTwain.
[C++Builder] BOOL
IKScanFreeTwain(void);
[Delphi] function
IKScanFreeTwain(): LongBool;
Parameters
None
Return Value
Returns the True (nonzero) if successful, otherwise returns False (0).
Explanation
The IKScanFreeTwain function frees the TWAIN DLL from the memory. (This is the TWAIN DLL loaded using the IKScanLoadTwain.
If IKScanLoadTwain has not been executed, then it isn't necessary to execute IKScanFreeTwain. (The ImageKit will automatically load and free the Twain.dll internally.) Always use IKScanLoadTwain and IKScanFreeTwain as a pair.
Before executing IKScanFreeTwain, be sure to execute IKScanTerminate