Tattakashi123 / t

Automatically exported from code.google.com/p/twaindotnet
0 stars 0 forks source link

GetDefault failure when no TWAIN devices are installed #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load TestApp on a machine with no TWAIN devices installed.
2. Twain32Native.DsmIdentity returns Failure when called with a 
Message.GetDefault parameter.
3. Library throws an exception and doesn't work.

What is the expected output? What do you see instead?

The expected result should be that the library works without devices installed. 
 The DataSourceManager.DataSource property should support being a null value.  
The user should be able to query a list of devices and see that there are none 
installed (an empty list), and functionality should support a disabled state 
when there is a null DataSource.

What version of the product are you using? On what operating system?

2011-12-22 version of twaindotnet with Windows 7 Professional 64-bit.

Original issue reported on code.google.com by mooz...@gmail.com on 5 Jun 2012 at 7:56