Home › Forums › TWAIN Classic › Does TwainDSM.DLL Replace Twain_32.dll
- This topic has 4 replies, 1 voice, and was last updated 5 years, 2 months ago by markm.
- AuthorPosts
- AnthonyD
I have a VB.NET application that was recently rebuilt on Windows 10 and now my Scanner Dialog is not working properly. I am wondering if this is related to the Twain DLL.
The scanning works, but the native scanner dialog does not work with the mouse click event and using the up and down arrows or mouse scroll skips items in the drop downs. The native scanner dialog works if you access it through Adobe or elsewhere, but no longer fully functional through my application. This works if I build in Windows 7.
I might be barking up the wrong tree here, but I would still like to know what TwainDSM.dll is and what it is used for.
Thank you,
Prabhas@Anthony,
Need some clarification on the Windows 7 OS version (32 bit or 64 bit ?) and which scanner you are trying with.
AnthonyDHi,
This is happening on Windows 10 64bit.
This happens with all of our scanners, but the one I am using is a Canon DR-9080C.The application is built in Visual Studio 2017, is a VB.NET application and my machine is also Windows 10 64bit.
Thank you,
AnthonyAnthonyDUpdate: I was able to resolve the native scanner dialog issue I was having by replacing the call to Application.AddMessageFilter(CType(Me.FindForm, IMessageFilter)) with Application.AddMessageFilter(CType(Me, IMessageFilter)). The drop down controls are now accessible. I also did the same for the EndingScan routine where Application.RemoveMessageFilter(CType(Me.FindForm, IMessageFilter)) was replaced with Application.RemoveMessageFilter(CType(Me, IMessageFilter)).
I am still curios on what the TwainDSM.dll is and if it replaces the Twain_32.dll. I believe that a Twain_64.dll does not exist, correct?
markmtwaindsm.dll is the open source data source manager, written and maintained by the TWAIN Working Group. It’s 100% compatible with the much older twain_32.dll, and it comes in both 32-bit and 64-bit flavors.
- AuthorPosts