Hello,
we are having problems while scanning with WIA. Using the acquisition dialog, everything works fine, but assigning values directly without the dialog is causing problems,
e.g. ImageEnMView1.MIO.AcquireParams.XResolution=200
is causing an "E_INVALIDARG" Error in the SetItemPropertyEx Method, unit iewia.pas, line hr := pIWiaPropStg.WriteMultiple(1, @vPropSpec, @vPropVar, 0);
, alsoImageEnMView1.MIO.PixelType=ieapMonochrome
leads to an "E_ACCESSDENIED" in the same method, same line.
Assigning these values in the acquisition dialog is working, so these values are definitely supported by the used scanners.
The affected devices are an Epson GT-2500 and a HP MFP 477fdn, the drivers are installed on 2 workstations with Windows 10 Creators Update 64 bit and a workstation with Windows 8.1 32 bit.
We are working with Delphi 10.1 Berlin, creating 32bit applications.
We could also reproduce it in the "AllAcquire" demo whose source code was included in the ImageEn v7.0.0 package.