Hi
I installed v2.0.3 of your sorfware on my XP SP3 machine. This comes with new v2.1.12.2 libusb driver. When running all test programs I get the following exception thrown:
System.Collections.Generic.KeyNotFoundException
I tried installing on other XP SP3 machines, One ran test programs fine, other did not. Then Installed on Vista machine and got the same error again.
Following this I installed v2.0.2 of your software to obtain the v2.1.12.1 libusb driver. Then reinstalled your v2.0.3 software without accepting the updated driver. This seems to have solved the problem for now. There does seem to be an issue with the v2.1.12.2 lib usb driver however.
Best regards
Steve
LibUsbDotNet requires all USB devices return a SymbolicName key. If the device does not return a SymbolicName a 'KeyNotFoundException' will be thrown.
MORE INFORMATION NEEDED:
Steven Morrison, Please verify the 'KeyNotFound' is the SymbolicName Key.
The following is from an Exception snapshot under StackTrace in the program Test_Info. It occured at program startup in 'refreshDevicesList()' at 'mDevList = UsbGlobals.AllDevices'. Looks like it is the SymbolicName key:
" at System.ThrowHelper.ThrowKeyNotFoundException()\r\n
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r\n
at LibUsbDotNet.Main.UsbRegistry.get_SymbolicName()\r\n
at LibUsbDotNet.Main.UsbRegistry.Equals(UsbRegistry usbRegistry)\r\n
at LibUsbDotNet.Main.UsbRegistry.Equals(Object obj)\r\n
at System.Object.Equals(Object objA, Object objB)\r\n
at LibUsbDotNet.Main.UsbRegistry.op_Equality(UsbRegistry usbRegistry1, UsbRegistry usbRegistry2)\r\n
at LibUsbDotNet.Main.UsbRegDeviceList.Add(UsbRegistry item)\r\n
at LibUsbDotNet.UsbGlobals.get_AllDevices()\r\n
at Test_Info.fTestInfo.refreshDeviceList() in C:\\Program Files\\LibUsbDotNet\\Test_Info\\fTestInfo.cs:line 129\r\n
at Test_Info.fTestInfo..ctor() in C:\\Program Files\\LibUsbDotNet\\Test_Info\\fTestInfo.cs:line 44\r\n
at Test_Info.Program.Main() in C:\\Program Files\\LibUsbDotNet\\Test_Info\\Program.cs:line 37\r\n
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)\r\n
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n
at System.Threading.ThreadHelper.ThreadStart()"
Hope this helps
Steve
I am having the same issue on a Windows XP SP3 machine. In my case, it is essentially the same stack trace: When UsbGlobals.AllDevices is accessed, the KeyNotFoundException is thrown, and it boils down to an error at LibUsbDotNet.Main.UsbRegistry.get_SymbolicName().
I am not familiar with a SymbolicName in USB devices and couldn't find anything useful on Google. Can you explain what that is or point me to some relevant resources?
I had this issue on my Windows 7 development machine, but after alternating between different versions of libusb0.dll and .sys, I was able to get it up and running. Nothing seems to be working for the XP machine, though.
Thanks,
Pat