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

Freing up the twain driver

Jun 22, 2016 at 7:44 PM
Hello,

I'm trying to use your twain component with the "RemoteScan" component.
RemoteScan component is a component developped by Dell in order to share twain over Terminal Server.

If i try to use Saraff.twain with the RemoteScan, i'm only able to scan once time. The second time i have an error message from the Dell component telling me the driver is already in used.

I contacted the assistance of dell, then they read somes logs and are saying the driver don't appear to be freeing up...

I build a simple assembly using your component.

Any idea to freeup all ressources/drivers please ?

Thanks a lot :)

Regards,

Fabio
Coordinator
Jun 23, 2016 at 8:46 AM
Hello, Nixeus.
Try invoke a Twain32.CloseDataSource() or Twain32.Dispose() methods.
Alse, you can see a Saraff.Twain.NET Service Samples
Jul 1, 2016 at 9:42 AM
Hello,

Thanks for the answer, saddly, i tried but it didn't change anything :(


Coordinator
Jul 1, 2016 at 5:32 PM
Hello, Nixeus.
So the problem is the scanner driver, as after invoke a Twain32.CloseDataSource() it must be unloaded.
Marked as answer by SARAFF on 7/7/2016 at 2:01 AM