I installed an ActiveX component, but all of its functions require you to know the OLE_HANDLE of the scanner, for example:
function ScannerAvailable(hWnd: OLE_HANDLE): WordBool;
function OpenScanner(hWnd: OLE_HANDLE): Integer;
function CloseScanner(hWnd: OLE_HANDLE): Integer;
The scanner is a USB scanner, how do I get its handle to start and stop scanning?
Scanner: Fujitsu fi-60F
IDE: Delphi 7
ActiveX Control: Fujitsu Scanner Control (Version 5.20) FiScn.ocx