Forum Replies Created
- AuthorPosts
- August 15, 2015 at 11:05 am in reply to: Morena 6 working fine on IE-32 bit but not on IE-64 bit #26311
You can obtain TWAINDSM.dll in both 32bit and 64bit flavours here:
https://sourceforge.net/projects/twain-dsm/files/TWAIN DSM 2 Windows 32+64/32bit Windows
- TWAINDSM.dll from twain32 goes to WindowsSystem32
- TWAINDSM.dll from twain64 is not used
64bit Windows
- TWAINDSM.dll from twain32 goes to WindowsSysWOW64
- TWAINDSM.dll from twain64 goes to WindowsSystem32
The reason 32bit IE works fine even though you don’t have TWAINDSM.dll anywhere on your system is simple. Windows provides older TWAIN DSM in the form of twain_32.dll (Windows). This old DSM is used in case TWAINDSM.dll is missing, but it’s only available for 32bit applications. MS doesn’t include TWAINDSM.dll in their OSes, only twain_32.dll, and that means no 64bit TWAIN unless you install it yourself.
Another thing is that 32bit applications may only access 32bit data sources in Windowstwain_32 and 64bit applications only 64bit data sources in Windowstwain_64. And 64bit data sources are virtually nonexistent.
Older versions of MSVC sadly don’t support all the C++11 features TWPP uses, especially constexpr.
It might work if you remove all constexpr keywords, though I think it is a waste of time, since MS released VS 2015 Community Edition for free.
Or you can try GCC (MinGW-w64) or CLang.Let me know (here or on GitHub) if it works for you, and what you (dis)like about the framework.
I’m still not 100% satisfied with DS API, so any feedback is greatly appreciated. - AuthorPosts