I'm using GdPicture.Net Twain methods to manage documents acquisition in my app.
During the initial configuration (i search for default device) if the method (TwainOpenDefaultSource()) fails (returns 0)...
I'll search for manual selection (via TwainSelectSource() method...)...
Now... is it possible this method works on 32bit machine, and not on 64bit?
I've tested that on 3 32bit machines and on 2 64bit machines (...after 2 hours of checks)...
During the test on 32bit machines I've not had problems... On 64bit machines, it not works.
My 'final-test' code:
Code: Select all
public Boolean SelectScanner()
{
Boolean _res= this.Device.TwainSelectSource(this._windowHandle);
if(!_res)
MessageBox.Show(String.Concat("Err - stat lib",this.Device.GetStat().ToString(), " - stat twain - ",this.Device.TwainGetState().ToString()));
return _res;
}
Any ideas?
Thank you.
All the best.
Andrea.