I'm trying to acquire an image from scanner with this code:
TThread.CreateAnonymousThread(
PROCEDURE()
BEGIN
try
ImageEnMView1.MIO.Acquire();
//
finally
end;
END
).Start;
When I choose the TWAIN scanner source -> everything works fine. The TWAIN scanner dialog shows and there is a scanned image.
When I choose other source (WIA) -> the Acquire() method quits instantly without any exception. There is neither WIA scanner dialog nor any scanner reaction.
I tried this code in AllAcquire DEMO and the result is exactly the same.
Is there any possibility to acquire an image without blocking main thread of an application ?