GdPicture.NET 8, win7 x64 - TwainGetSourceCount return 0

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
epastor
Posts: 3
Joined: Fri Mar 16, 2012 3:11 pm

GdPicture.NET 8, win7 x64 - TwainGetSourceCount return 0

Post by epastor » Fri Mar 16, 2012 3:17 pm

I am working with GdPicture.NET v.8.3.0.3 with Any CPU configuration.
The OS is Windows 7, 64 bits, and the drivers of the scanner MP Navigator EX v. 4.1.3 (Windows 7/7 x64/Vista/Vista64/XP) (Canon PIXMA MX420)

But, when I run the application, the GdPictureImaging fuction TwainGetSourceCount(Me.Handle) always returns a value of 0.

I need my app with Target AnyCPU, but only returns value > 0 when I run with Target CPU x86.

What's the problem and the solution?

Thank you.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GdPicture.NET 8, win7 x64 - TwainGetSourceCount return 0

Post by Loïc » Fri Mar 16, 2012 3:59 pm

Hello,

The solution is to have a 64 TWAIN driver. Otherwise you need to target your app to x86.

The WIA protocol is a good alternative to build anyCPU document scanning app.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest