- This topic has 1 reply, 2 voices, and was last updated 11 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Classic › Migratinn from version 1.7 to 2.2
need help migrating twain 1.7 to 2.2.
Anyone please help me provideing step wise solution to this issue.
we are using c# for the development.
When we call
TwRC rc =DSMparent(appid, IntPtr.Zero, TwDG.Control, TwDAT.Parent, TwMSG.OpenDSM, ref hwndp);
Above line returning false. but it should returnsuccess as result.
need a quick solution .please reply.
Any chance you are compiling with platform=AnyCPU and then running on a 64-bit OS?
That will run your code in a 64-bit process, which won’t be able to load the old (32-bit only) DSM.
There’s no point using 64-bit TWAIN, because there are no 64-bit drivers, and 32-bit drivers are invisible to 64-bit apps.
So make sure your app is compiled platform=x86