Asynchronous TWAIN Scanning Demo is failing

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
jctirado
Posts: 3
Joined: Tue Mar 24, 2020 7:59 am

Asynchronous TWAIN Scanning Demo is failing

Post by jctirado » Tue Mar 24, 2020 8:10 am

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
-------------------
Attachments
Capture.JPG

jctirado
Posts: 3
Joined: Tue Mar 24, 2020 7:59 am

Re: Asynchronous TWAIN Scanning Demo is failing

Post by jctirado » Tue Mar 24, 2020 5:48 pm

FYI I am using GdPicture.NET.12

Hugo
Posts: 48
Joined: Tue Dec 18, 2018 10:09 am

Re: Asynchronous TWAIN Scanning Demo is failing

Post by Hugo » Wed Mar 25, 2020 5:17 pm

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!

jctirado
Posts: 3
Joined: Tue Mar 24, 2020 7:59 am

Re: Asynchronous TWAIN Scanning Demo is failing

Post by jctirado » Wed Mar 25, 2020 5:26 pm

Hi Hugo,

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

Please let me know when you have something.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest