Home › Forums › TWAIN Classic › where does windows find TWAINDSM.DLL
- This topic has 1 reply, 2 voices, and was last updated 10 years, 6 months ago by MarkM.
- AuthorPosts
My problem is the opposite of normal. I am running Windows 7 Home Premium.
I have a client whose PC is not finding TWAINDSM.DLL. It would be nice to emulate his problem. In incremental stages I eventually got to, deleting all copies of this file from anywhere on both my c: and d: drives. Restarting Windows and NOT connecting to the internet in case it uses twnlib4.dll to download it.
Sure enough despite it this my computer still finds the file. So my question is how does windows succeed in doing a loadlibrary of TWAINDSM.DLL and then find a DSMEntry with this file not being anywhere on the system.
p.s. if you are getting suggestions that my local language is French please reply in English, I live at least part of the time in France but would need to ask my wife to translate a French reply.
Thanks, Nick
Windows comes with C:WindowsTWAIN_32.DLL, which is the 32-bit legacy version of the TWAIN Data Source Manager.
TWAINDSM.DLL is provided by the TWAIN Working Group. To be present on a system it must be installed by a TWAIN application or a TWAIN driver. For 32-bit systems you’ll find it in C:WindowsSystem32TWAINDSM.DLL. On 64-bit systems it’ll be there and in C:WindowsSysWOW64TWAINDSM.DLL.
Remember that on 64-bit systems System32 contains 64-bit binaries, and SysWOW64 contains 32-bit binaries. Most TWAIN apps and drivers are still 32-bit, so in most situations the file you want is in SysWOW64.
The installers for the latest version of TWAINDSM.DLL may be found here: http://sourceforge.net/projects/twain-dsm
- AuthorPosts