This project has moved. For the latest updates, please go here.

Twain in Windows Service

Nov 6, 2015 at 8:25 AM
Edited Nov 6, 2015 at 10:23 AM
Thank you for your great work
I'm using Saraff.Twain.NET DLL in a windows service, and already initialize it to not show UI, but the problem is when calling _twain32.OpenDataSource(); and an error happening then it shows message box with error code and not throwing an exception
and because of that the service hangs because it shows message box inside windows service that works at background
can you please update your code in all your functionality to throw an exception instead of showing message box
after checking your source code I think the message box is not from your code, it's from basic twain but I couldn't know how to stop it from doing that
hope you can help me with that
Thanks in advanced
Coordinator
Nov 6, 2015 at 1:55 PM
Edited Nov 6, 2015 at 1:55 PM
Hello, jenan123.
See this post.
Marked as answer by SARAFF on 11/14/2015 at 2:21 PM