GdPicture.NET 8 - Can't Find Scanner in Release Mode Only

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
jrowlen
Posts: 9
Joined: Tue Mar 01, 2011 7:36 pm

GdPicture.NET 8 - Can't Find Scanner in Release Mode Only

Post by jrowlen » Wed Jul 13, 2011 11:05 pm

I am working with GdPicture.NET 8 with Any CPU configuration.
Everything works fine in debug mode. However, in release mode, the GdPictureImaging fuction TwainGetSourceCount(IntPrt handle) always returns a value of 0.

Do you know why this is happening?

jrowlen
Posts: 9
Joined: Tue Mar 01, 2011 7:36 pm

Re: GdPicture.NET 8 - Can't Find Scanner in Release Mode Onl

Post by jrowlen » Wed Jul 13, 2011 11:14 pm

BTW, the OS is Windows 7, 64 bit.

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

Re: GdPicture.NET 8 - Can't Find Scanner in Release Mode Onl

Post by Loïc » Thu Jul 14, 2011 9:53 am

Hi,

All is OK for me. Ensure yourself that you have a valid 64 bit TWAIN driver on your OS. Else, you will have to target your app to x86 in order to use the 32-bit TWAIN driver version.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests