[Mono-dev] Cross platform USB programming

Napcaia edernavarro at napcaia.com
Thu Jul 16 15:45:21 EDT 2009


ICSharp usb lib  is obsolete, all the work it's been done in LibUsbDotNet,
you can download it at http://sourceforge.net/projects/libusbdotnet/ and the
example code is at http://libusbdotnet.sourceforge.net/V2/Index.html 

I have try the example code but it doesn't work, I have the following
message
"
Finding your device..

Unhandled Exception: System.ArgumentException: An empty file name is not
valid.
  at System.IO.FileSystemInfo.CheckPath (System.String path) [0x00000] 
  at System.IO.DirectoryInfo..ctor (System.String path, Boolean
simpleOriginalPath) [0x00000] 
  at System.IO.DirectoryInfo..ctor (System.String path) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor
(string)
  at LibUsbDotNet.UsbGlobals.get_HasWinUsbDriver () [0x00000] 
  at LibUsbDotNet.UsbGlobals.get_AllDevices () [0x00000] 
  at Examples.GettingStarted.Main (System.String[] args) [0x0000a] in
/home/eder/Projects/Prueba/Prueba/Main.cs:23 
"

I have a post with that, if i get the solution i tell you.

Greetings from Colombia.
-- 
View this message in context: http://www.nabble.com/Cross-platform-USB-programming-tp24515653p24521064.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list