Forums › TWAIN Classic › How to catch end of scan on multi-page scanner? Kodak i-30 › Reply To: How to catch end of scan on multi-page scanner? Kodak i-30
so if the sample works on your device but your code doesn’t….,
ok describe your transfer.
you execute OperationTriplets Image.ImageFileXfer.Get
you check the rc, its either , XferDone, Cancel or Failure
for the XferDone and Cancel results you end up executing
Control.PendingXfers.EndXfer, you check the pxfr.Count and if it is 0 then you go do something else and if its not 0 you loop. yours is never 0? is this where you come to an infinate loop? what happens here?
have you tried anyone else code? does your code work anywhere else? Maybe this is odd bit o twain i just havent run up against, but when you say that the twain sample source works, i’m inclined to believe that your code is the source (no pun intended).