We are using EZTwain Pro 4 to interface with scanners connected directly to users desktops. Immediately after calling the scan function
li_rtn = TWAIN_AcquireMultipageFile(0, ls_fullfilename)
the application resizes itself, the title bar is partially hidden, datawindow positions are moved, etc.
The document is scanned in successfully and we get a zero (successful) return code.
This seems to only happen on desktops where the user has their windows display setting set at 125%. If it's 100%, everything works fine.
Also, it only happens on the compiled version of the application. If we run it from the PB IDE, or through degug, we don't get the issue.
The following is the code we are executing:
IF TWAIN_LastErrorCode()<>0 THEN
TWAIN_ReportLastError("Unable to scan.")
We are developing in PB2021 Standard Edition (Build 1509).
Has anyone else experienced a similar problem? Is there a solution or work-around?