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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 AcquireParams.SetSourceByStr doesn't work

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Ralf Posted - Mar 24 2017 : 07:41:51
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
2   L A T E S T    R E P L I E S    (Newest First)
Ralf Posted - Mar 27 2017 : 02:20:32
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
xequte Posted - Mar 25 2017 : 21:02:23
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