ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 AcquireParams.SetSourceByStr doesn't work
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ralf

112 Posts

Posted - Mar 24 2017 :  07:41:51  Show Profile  Reply
Hallo,
today we tried our application on an Win2008 Server with a Brother Scanner. At the System only a WIA-Driver is installed without any Twaindriver.

We used to select the scanner by the function SetSourceByStr. This work on all Systems without any problems when not only a WIA-Driver is installed.

It seems to me like a bug.

Now we use GetTwainSource and GetWiaSource to select the scanner.

Best Regards

Ralf

xequte

38189 Posts

Posted - Mar 25 2017 :  21:02:23  Show Profile  Reply
Hi Ralf

If you are passing only a source name to SetSourceByStr then it will fail with WIA in v6.3.2. You need to pass a raw device string, e.g.

My Cool Scanner||0||WIA||SCN

This is improved in v7.0.0

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Ralf

112 Posts

Posted - Mar 27 2017 :  02:20:32  Show Profile  Reply
Hi Nigel,

thanks for the feedback.
I hadn't recognized, that i had to use for Wia the raw device str. I will test with the v7 if we can switch back to SetSourceByStr.

I'm looking forward for the v7.

Best Regards
Ralf
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: