I don't have problems with TWAIN drivers but now i have to compile 64bit my application and so have to use WIA driver.
I use this code to set the frame and acquire it:
img.IO.AcquireParams.VisibleDialog:=false; // img is a TImageEnView
img.IO.AcquireParams.AcquireFrameEnabled:= true;
img.IO.AcquireParams.AcquireFrameLeft:= x;
img.IO.AcquireParams.AcquireFrameTop:= y;
img.IO.AcquireParams.AcquireFrameRight:= r;
img.IO.AcquireParams.AcquireFrameBottom:= b;
img.IO.Acquire;
The frame acquired is not correct: a different area is acquired.
The odd thing is that if, after the value has been set, i check in the debugger the value of AcquireFrameRight and AcquireFrameBottom i see that it's 0
Bug or what ?
ImageEn Ver. 13.7.0 and Delphi 10.2.3
Roberto Nicchi
Master Informatica
Italy