Asynchronous TWAIN Scanning Demo is failing
Posted: 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.
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
This is the log file...
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
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
-------------------