Trouble with kodak i40

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
User avatar
kketterman
Posts: 32
Joined: Tue Apr 21, 2009 6:55 pm

Trouble with kodak i40

Post by kketterman » Fri May 29, 2009 8:29 pm

I have tried using a kodak i40 on a Windows XP and Windows Vista machines to determine that when I hide the scanner UI, my application becomes locked and becomes unusable. I have not had these issues with Fujitsu 4120C and 4120C2 models or even the Canon 9050C we are testing. Is there something I can do to get around this?

The app seems to get lost in the process

Code: Select all

ImageID = oImaging.TwainAcquireToGdPictureImage(Me.Handle)

User avatar
Loïc
Site Admin
Posts: 5662
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Trouble with kodak i40

Post by Loïc » Sat May 30, 2009 11:02 am

Please give us more details according to this post: viewtopic.php?t=1486

Kind regards,

Loïc

User avatar
kketterman
Posts: 32
Joined: Tue Apr 21, 2009 6:55 pm

Re: Trouble with kodak i40

Post by kketterman » Mon Jun 01, 2009 4:59 pm

Device: Kodak i40 on Windows Vista Business Driver version 2.5.0.0 (Downloaded from the Kodak website)

the lock occurs during the following call

Code: Select all

    ImageID = oImaging.TwainAcquireToGdPictureImage(Me.Handle)
I chopped down the log to make it fit...

Code: Select all

#GdTwain Log Start. Version: 624

RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_FAILURE CC: TWCC_CAPUNSUPPORTED
-------------------
Start: SetAutoFeed.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
CAP_FEEDERENABLED. Result for Set True.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_FAILURE CC: TWCC_CAPBADOPERATION
-------------------
CAP_AUTOFEED. Result for Set True.
RC:   TWRC_FAILURE
CC:   TWCC_CAPBADOPERATION
State: 4
-------------------
Start: NegotiateXferCount.
RC:   TWRC_FAILURE
CC:   TWCC_CAPBADOPERATION
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
End: SetAutoFeed.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
Start: SetAutoScan.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
Start: SetAutoFeed.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
CAP_FEEDERENABLED. Result for Set True.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_FAILURE CC: TWCC_CAPBADOPERATION
-------------------
CAP_AUTOFEED. Result for Set True.
RC:   TWRC_FAILURE
CC:   TWCC_CAPBADOPERATION
State: 4
-------------------
Start: NegotiateXferCount.
RC:   TWRC_FAILURE
CC:   TWCC_CAPBADOPERATION
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
End: SetAutoFeed.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
End: SetAutoScan True.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_FAILURE CC: TWCC_CAPUNSUPPORTED
-------------------
Start: AcquireNative.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
Source: Kodak Scanner: i30/i40
Manufacturer: Eastman Kodak Company
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_GETCURRENT ->RC: TWRC_SUCCESS
-------------------
Start: WaitForXfer.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_GETCURRENT ->RC: TWRC_SUCCESS
-------------------
Start: SetXferMech.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_SET ->RC: TWRC_SUCCESS
-------------------
End: SetXferMech.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
Start: EnableSource.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 4
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_USERINTERFACE - MSG: MSG_ENABLEDS ->RC: TWRC_SUCCESS
-------------------
End: EnableSource.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 5
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_EVENT - MSG: MSG_PROCESSEVENT ->RC: TWRC_NOTDSEVENT CC: TWCC_SUCCESS
-------------------



ModalEventLoop: Direct transfer.
RC:   TWRC_NOTDSEVENT
CC:   TWCC_SUCCESS
State: 5
-------------------
Start: DoOneTransfer.
RC:   TWRC_NOTDSEVENT
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_GETCURRENT ->RC: TWRC_SUCCESS
-------------------
Start: NativeXferHandler.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_IMAGE - DAT: DAT_IMAGENATIVEXFER - MSG: MSG_GET ->RC: TWRC_FAILURE CC: TWCC_SEQERROR
-------------------
DS - DG_IMAGE/DAT_IMAGENATIVEXFER: Transfer Fail. Insufficient memory ?
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 6
-------------------
End: NativeXferHandler.
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 7
-------------------
End: DoOneTransfer.
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 7
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_EVENT - MSG: MSG_PROCESSEVENT ->RC: TWRC_NOTDSEVENT CC: TWCC_SUCCESS

ModalEventLoop: Direct transfer.
RC:   TWRC_DSEVENT
CC:   TWCC_SUCCESS
State: 5
-------------------
Start: DoOneTransfer.
RC:   TWRC_DSEVENT
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_GETCURRENT ->RC: TWRC_SUCCESS
-------------------
Start: NativeXferHandler.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_IMAGE - DAT: DAT_IMAGENATIVEXFER - MSG: MSG_GET ->RC: TWRC_FAILURE CC: TWCC_SEQERROR
-------------------
DS - DG_IMAGE/DAT_IMAGENATIVEXFER: Transfer Fail. Insufficient memory ?
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 6
-------------------
End: NativeXferHandler.
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 7
-------------------
End: DoOneTransfer.
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 7
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_EVENT - MSG: MSG_PROCESSEVENT ->RC: TWRC_DSEVENT CC: TWCC_SUCCESS


-------------------
ModalEventLoop: Direct transfer.
RC:   TWRC_NOTDSEVENT
CC:   TWCC_SUCCESS
State: 5
-------------------
Start: DoOneTransfer.
RC:   TWRC_NOTDSEVENT
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_GETCURRENT ->RC: TWRC_SUCCESS
-------------------
Start: NativeXferHandler.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_IMAGE - DAT: DAT_IMAGENATIVEXFER - MSG: MSG_GET ->RC: TWRC_FAILURE CC: TWCC_SEQERROR
-------------------
DS - DG_IMAGE/DAT_IMAGENATIVEXFER: Transfer Fail. Insufficient memory ?
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 6
-------------------
End: NativeXferHandler.
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 7
-------------------
End: DoOneTransfer.
RC:   TWRC_FAILURE
CC:   TWCC_SEQERROR
State: 7
-------------------

::DS operation. DG: DG_CONTROL - DAT: DAT_EVENT - MSG: MSG_PROCESSEVENT ->RC: TWRC_DSEVENT CC: TWCC_SUCCESS
-------------------
MessageHook: MSG_XFERREADY.
RC:   TWRC_DSEVENT
CC:   TWCC_SUCCESS
State: 6
-------------------
Start: DoOneTransfer.
RC:   TWRC_DSEVENT
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_CAPABILITY - MSG: MSG_GETCURRENT ->RC: TWRC_SUCCESS
-------------------
Start: NativeXferHandler.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 6
-------------------
::DS operation. DG: DG_IMAGE - DAT: DAT_IMAGENATIVEXFER - MSG: MSG_GET ->RC: TWRC_XFERDONE CC: TWCC_SUCCESS
-------------------
End: NativeXferHandler.
RC:   TWRC_XFERDONE
CC:   TWCC_SUCCESS
State: 7
-------------------
Start: EndXfer.
RC:   TWRC_XFERDONE
CC:   TWCC_SUCCESS
State: 7
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_PENDINGXFERS - MSG: MSG_ENDXFER ->RC: TWRC_SUCCESS
-------------------
Start: Extended check for pending xfers.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 5
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_PENDINGXFERS - MSG: MSG_GET ->RC: TWRC_SUCCESS
-------------------
End: Extended check for pending xfers.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 5
-------------------
End: EndXfer.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 5
-------------------
End: DoOneTransfer.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 5
-------------------
End: ModalEventLoop.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 5
-------------------
::DS operation. DG: DG_CONTROL - DAT: DAT_EVENT - MSG: MSG_PROCESSEVENT ->RC: TWRC_NOTDSEVENT CC: TWCC_SUCCESS
-------------------

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest