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

x64 OpenDSM error

Dec 19, 2016 at 11:55 AM
Hello,

I downloaded Data Source Manager from twain website and copied TWAINDSM.dll and TWAINDSM32.msm to C:\Windows\System32. Also TWAINDSM.dll and TWAINDSM64.msm to C:\Windows\SysWow64. I also downloaded 64bit driver for virtual twain scanner so that I have twain_64 folder for 64bit sources and twain_32 folder for 32bit sources.

Problem occurs when I start 64bit application. Twain.OpenDSM throws exception "Cant load DSM".

My code:
twainScanner.IsTwain2Enable = true;
twainScanner.OpenDSM();
But even if I delete 1st line of code, the same error occurs.
Coordinator
Dec 19, 2016 at 3:50 PM
Hello, NB1994.
Try reinstall a TWAINDSM.dll to C:\Windows\System32\ (use a TWAINDSM.dll from TWAINDSM64.msm).
Marked as answer by NB1994 on 12/20/2016 at 2:52 AM
Dec 20, 2016 at 10:53 AM
Edited Dec 20, 2016 at 10:54 AM
It worked. Thank you. I made a mistake copying TWAINDSM.dll from TWAINDSM32.msm.