Hi,
I could not able to scan the document in x64 bit (working fine in x86) because of source is not detected while am using GdPicture.NET.9.twain.client.64 dll (6.5.0.6) and GdPicture.NET.9
(9.0.0.10). Here I shared my code lines for your analysis. Kindly do the needful ASAP please.
for 32 bit - x86 (working fine)
gdPictureImaging.TwainSetHideUI(!showUI);
gdPictureImaging.TwainSetIndicators(true);
gdPictureImaging.TwainSetBrightness(brightNess);
gdPictureImaging.TwainSetContrast(1000);
gdPictureImaging.TwainEnableDuplex(false);
if (gdPictureImaging.TwainGetSourceCount(Handle) > 1)
{
return gdPictureImaging.TwainSelectSource(Handle);
}
var sourceName = gdPictureImaging.TwainGetDefaultSourceName(Handle);
WriteLog(sourceName); //WIA-hp scanjet 5590 - Working fine
return !string.IsNullOrWhiteSpace(sourceName) || gdPictureImaging.TwainSelectSource(Handle);
for 64 bit - x64 (Not working)
gdPictureImaging.TwainSetHideUI(!showUI);
gdPictureImaging.TwainSetIndicators(true);
gdPictureImaging.TwainSetBrightness(brightNess);
gdPictureImaging.TwainSetContrast(1000);
gdPictureImaging.TwainEnableDuplex(false);
if (gdPictureImaging.TwainGetSourceCount(Handle) > 1)
{
return gdPictureImaging.TwainSelectSource(Handle);
}
var sourceName = gdPictureImaging.TwainGetDefaultSourceName(Handle);
WriteLog(sourceName); //empty - Identified Not working
return !string.IsNullOrWhiteSpace(sourceName) || gdPictureImaging.TwainSelectSource(Handle);
Source not detected in 64 bit - pls help
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Source not detected in 64 bit - pls help
Hi,
Please make sure that you are accessing the Twain64 bit drivers of the scanner you are connecting to.
That being said, unfortunately, most scanners do not have correctly implemented 64 bit drivers. This is beyond the control of GdPicture. For Twain, it is always better to stick with 32 bit because those are usually the correctly implemented drivers.
Best,
Sami
Please make sure that you are accessing the Twain64 bit drivers of the scanner you are connecting to.
That being said, unfortunately, most scanners do not have correctly implemented 64 bit drivers. This is beyond the control of GdPicture. For Twain, it is always better to stick with 32 bit because those are usually the correctly implemented drivers.
Best,
Sami
Re: Source not detected in 64 bit - pls help
Thanks Sami, it was very helpful.
Who is online
Users browsing this forum: No registered users and 2 guests