Menu

#4 Setup Scanner does not work in twancsscan (dialog freezes)

2.0
closed
Mark
None
2017-03-08
2014-08-21
No

Hello!

I've tried out twain for c# in the actual version and find out, that the setup-dialog for the scanner (tested with canon and panasonic) freezes when called. It seems that the twain-communication-Thread (function main in TWAIN.cs) jumps in "CallerToThreadWaitOne()" and does not return. If I understood the behavior correctly, than at this point its not time for the application to send something to twain, instead the user must do something in the dialog so the application should "wait" on reaction from twain.

Best regards
Jo

Discussion

  • Mark

    Mark - 2014-10-13

    Hi Jo...

    Sorry about the delay in responding. I've been tracking this item for a while now, and I believe I have a potential fix that I'll be uploading later today. Look for version 2.3.0.4 to appear, if you'd like to try it.

    The gist of the fix is that the toolkit wasn't sending process events to the driver, and for some drivers this prevents them from properly responding.

    -- Mark

     
  • Mark

    Mark - 2014-10-13
    • status: open --> accepted
     
  • Mark

    Mark - 2014-10-19

    Fixed in 2.3.0.5

    This is the same problem as another ticket. Windowing messages were not being properly managed to a dialog when it was a child of the HINSTANT in DllMain (running in the same thread). I found a driver with the problem, so I was able to diagnose and fix it...

     
  • Mark

    Mark - 2014-10-19
    • status: accepted --> closed
    • assigned_to: Mark
     
  • Keats Y

    Keats Y - 2017-03-08

    the bug is back in 2.3.2.0

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.