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
 List of Twain Sources
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Dick Maley

USA
4 Posts

Posted - Dec 03 2015 :  13:33:50  Show Profile  Reply
How can I get a list of Twain/WIA devices attached to a computer?

Dick Maley

USA
4 Posts

Posted - Dec 03 2015 :  13:45:30  Show Profile  Reply
Sources:='';
For i:=0 To ImageEnView1.IO.TwainParams.SourceCount-1 Do
Begin
Sources:=Sources+ImageEnView1.IO.TwainParams.SourceName[i]+#13+#10;
End;
ShowMessage(Sources);
Go to Top of Page

Uwe

284 Posts

Posted - Dec 03 2015 :  15:46:04  Show Profile  Reply
Dick,

you might find it difficult to distinguish between device types when you use that approach.

-Uwe
Go to Top of Page

Dick Maley

USA
4 Posts

Posted - Dec 04 2015 :  18:01:21  Show Profile  Reply
I agree. I am simply at the start of a long journey migrating Twain/WIA from ImageLib to ImageEn. One step at a time.

Dick Maley
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: