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
 TwainParams.SourceCount 64bit

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
aleatprog Posted - Jul 22 2019 : 02:38:19
In the TwainDemo, available scanning devices are listed using TwainParams.SourceCount:

for i := 0 to ImageEnView1.IO.TwainParams.SourceCount - 1 do
ComboBox1.Items.Add( String( ImageEnView1.IO.TwainParams.SourceName[i] ));

Compiled in 32bit the demo works fine, in 64bit the list is empty because the above mentioned code had been ignored. May you reproduce it?

Is this caused by some property of the driver or is TwainParams.SourceCount working only in 32bit?

Al
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 25 2019 : 04:33:48
Hi Al

Yes, it works correctly on our test system.



Nigel
Xequte Software
www.imageen.com
aleatprog Posted - Jul 23 2019 : 13:29:54
Hi Nigel,

I chose the term "ignored" as in debug mode the above code is skipped/jumped/not processed while pressing F8. And, yes, as I wrote, probably it's due to some driver property. Did the TwainDemo worked well on your side in 64bit?

Meanwhile, I connected the same scanner using WIA which works perfect in 64bit.

Al
xequte Posted - Jul 22 2019 : 22:05:36
Hi Al

What makes you say the code is "ignored". The Twain code is compiled in both 32 and 64bit modes.

More likely you are seeing an absence of Twain drivers. Many manufactures do not bother including 64bit Twain drivers.

Nigel
Xequte Software
www.imageen.com