Contact us


All times are UTC - 8 hours



Post new topic Reply to topic  [ 3 posts ] 
Author Message
Offline Profile  


Joined: Tue May 19, 2015 9:23 am
Posts: 2
It appears that the .Net Twain dll is compiled for Any Cpu and our .Net control library is compiled for Any Cpu but when we use the SourceCount on the DynamicDotNetTwain object we are getting 0. If we compile our source application for X86 I get the expected result (1) back. Does the version of the underlying scanner driver cause this?

var objScanner = new DynamicDotNetTwain {LicenseKeys = "{Valid key here}"};

var test = objScanner.OpenSourceManager();
Console.WriteLine("Opened {0}", test);
if (test)
{
Console.WriteLine("Count {0}", objScanner.SourceCount);
for (var i = 0; i <= objScanner.SourceCount; i++)
{
Console.WriteLine(objScanner.SourceNameItems(i));
}
}

Console.ReadLine();

objScanner.CloseSourceManager();


Offline Profile  


Joined: Tue May 19, 2015 9:23 am
Posts: 2
Spoke with support using Chat and they recommended using 5.4.1 to get the fix for 32 bit / 64 bit in 5.3.

5.3 (07/22/2014)
New Features and Improvements:
Added ScanInNewProcess property for acquiring images in an independent 32-bit process. With the new process, you can now access 32-bit TWAIN scanners from 64-bit applications.
Other minor fixes and tweaks.


User avatar
Offline Profile  


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1701
Great! :D

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: Michael, Vincy


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Copyright © 2016 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team