Home › Forums › TWAIN Classic › Error when going from state 6 to 7
- This topic has 2 replies, 2 voices, and was last updated 11 years, 7 months ago by karlito139.
- AuthorPosts
Hello,
I am trying to develop an application to make time lapse with a leica DC 300 FX. For that I’m using QT with a TWAIN package :
http://www.cppfrance.com/codes/PACKAGE-QT-TWAIN_46374.aspx
The code works great with the demo cam (an emulator that returns always the same picture). But when I try to use it with the real camera it won’t give me the image.
More precisely the program works fine until the state 6. I get the image information, it’s ok, informations are right. After that it run DG_IMAGE/DAT_IMAGENATIVEXFER/MSG_GET, and that’s where an error occur. As suggested in the TWAIN spec, I checked the ConditionCode value : 61453.
I don’t understand where the problem is.
We always recommend contacting the device manufacturer for help…
In the meantime, you can try using the TWACKER to see if you can capture data that way. Depending on how it goes you’ll get a better idea if it’s a problem with the device or the image capture package you’re using…
http://twain.org/scannerdriverdevelopers/specification-and-tools.html
(the 32-bit twacker is at the bottom)Thanks a lot for this answer. Actually, I just did what you said, but I tried with the eztwain library. And it works.
Thanks a lot for your help.
- AuthorPosts