Fixed Issue 68.

This commit is contained in:
Michael Möller
2010-06-05 09:40:57 +00:00
parent 5d5307e5b5
commit f26b2f446f
+1
View File
@@ -55,6 +55,7 @@ namespace OpenHardwareMonitor.Hardware.TBalancer {
FTD2XX.FT_CreateDeviceInfoList(out numDevices);
} catch (DllNotFoundException) { return; }
catch (ArgumentNullException) { return; }
catch (EntryPointNotFoundException) { return; }
FT_DEVICE_INFO_NODE[] info = new FT_DEVICE_INFO_NODE[numDevices];
FTD2XX.FT_GetDeviceInfoList(info, ref numDevices);