Page 1 of 1

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

Posted: Wed Jul 13, 2011 11:05 pm
by jrowlen
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?

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

Posted: Wed Jul 13, 2011 11:14 pm
by jrowlen
BTW, the OS is Windows 7, 64 bit.

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

Posted: Thu Jul 14, 2011 9:53 am
by Loïc
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