Forums › TWAIN Classic › app does not respond to MSG_CLOSEDSREQ… › Reply To: app does not respond to MSG_CLOSEDSREQ…
I am not tracking the twState when calling the 2nd ds and getting the image data from it
I think you need to update twState when you make calls to the secondDs on the apps behaf, I’m almost certain of it.
I am not creating a separate messagepump thread.
ahHa! more on this later.
Could you post the line of code you’re using when you send CloseDsReq?
When your CloseDsReq fails, what Condition Code is returned?
I’m working on a longer response but it is going to take a bit of time as I’m having to reread a bit of the spec and compare it to the sampleDs from twain.org and GenDs toolkit from Dosadi.com to see where you fit in.
And I ran out of room on the scratch pad I was using to map the triplets involved so I have to go down to storage to get one of the industrial paper rolls I use when looking at problems that I can’t keep in my head stuff coming out of my ears.
.