Page 1 of 1

Asynchronous TWAIN Scanning Demo is failing

Posted: Tue Mar 24, 2020 8:10 am
by jctirado
If you select "Force TWAIN 1.9" and select a WIA source the user interface will never show up.

Image

If you do the same steps but without the background worker the user interface will show as expected. The problem is when you try to doit asynchronous.

Could you help me?... I need this working :cry:

This is the log file...

Code: Select all


#GdPicture.NET.twain.client Log Start. Version: 711

RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 1
-------------------
GetValidHwnd: Creating Proxy window.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 1
-------------------
Start: OpenSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 1
-------------------
custom DSM library loaded: c:\windows\twain_32.dll
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 1
-------------------
Entry point of the custom DSM found.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 1
-------------------
End: OpenSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 3
-------------------
Start: OpenDefaultSource.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 3
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
End: OpenDefaultSource.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
Start: Set Feeder False.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_FAILURE CC: TWCC_BUMMER
-------------------
End Set Feeder.
RC:   TWRC_FAILURE
CC:   TWCC_BUMMER twainState: 4
-------------------
Start: AcquireNative.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 4
Source: WIA-fi-7160
Manufacturer: FUJITSU
-------------------
Start: SetXferMech.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
End: SetXferMech.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 4
-------------------
AcquireNative: Retrieving current device transfer configuration - Start.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS twainState: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_GETCURRENT ->RC: TWRC_FAILURE CC: TWCC_BADCAP
-------------------
AcquireNative Info - CAP_DUPLEXENABLED is false
AcquireNative: Retrieving current device transfer configuration - End.
RC:   TWRC_FAILURE
CC:   TWCC_BADCAP twainState: 4
-------------------
Start: WaitForXfer.
RC:   TWRC_FAILURE
CC:   TWCC_BADCAP twainState: 4
-------------------
Start: EnableSource.
RC:   TWRC_FAILURE
CC:   TWCC_BADCAP twainState: 4
-------------------

Re: Asynchronous TWAIN Scanning Demo is failing

Posted: Tue Mar 24, 2020 5:48 pm
by jctirado
FYI I am using GdPicture.NET.12

Re: Asynchronous TWAIN Scanning Demo is failing

Posted: Wed Mar 25, 2020 5:17 pm
by Hugo
Hi there,

We are currently on version 14.1.59 as latest version as I am sending this.

Sadly we cannot provide indepth support for older versions.
This being said, we have managed to reproduce your issue in our latest release.

Thank you for your patience. We'll update you in the ticket you have submitted.

Have a great day!

Re: Asynchronous TWAIN Scanning Demo is failing

Posted: Wed Mar 25, 2020 5:26 pm
by jctirado
Hi Hugo,

That's OK, I don't have a problem using a newer version.

Please let me know when you have something.