VintaSoft Twain .NET SDK Discussions
Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.
Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions
C:\Program Files (x86)\VintaSoft\VintaSoftTwain.NET v8.3\Examples\VS.NET.2010\CSharp\WpfTwainSimpleDemoWhat I did was, I've opened it in Visual Studio 10 - it went well, no problem. Built - again no problem. Started - all good, some UI with buttons and usual stuff. Evaluation dialog comes up, clicked "Evaluate" - all good. Clicked big button "Acquire Image(s)" on the next screen. Next thing happened is "Cannoot initialize the device manager." error message.
TwainEnvironment.EnableDebugging(@"C:\twain\vstwain.log");Then I've started demo program again, with the same result as before. This time however I've found "C:\twain\vstwain.log" file. Following is what was in the file:
28/05/2013 7:32:40 a.m. 67,706,880 Debugging enabled [8.3.4.1]Scanner machine that I'm trying to use is "Kodak i1420". I have installed its latest and greatest drivers available from vendor website. Scanner's driver runs its test perfectly with images acquired and everything looks good.
28/05/2013 7:32:40 a.m. 67,829,760 Device manager is opening PathToDSM=C:\Windows\TWAIN_32.DLL State=Closed
28/05/2013 7:32:40 a.m. 67,829,760 Cannot initialize the device manager.
28/05/2013 7:33:12 a.m. 69,361,664 Device manager is closing State=Closed
28/05/2013 7:33:12 a.m. 69,361,664 Device manager is closed State=Closed
Now it does open device manager but it can't find any attached devices. Compiled example from /Bin works fine though.You can see devices when you run our demo from "Bin" directory and cannot see devices when you compile and run example from source codes. Am I right?