| 
      
      
      From: Hans-Martin <ha...@we...> - 2006-08-17 23:02:42
      
     | 
| Dear all. I'm using Visual Basic 2005 and like to access my Garmin GPS receiver. Unfortunately I'm not able to write the initialization. I'm only able to access the listed function. Please can you send me or post an example in Visual Basic 2005 how to access the USB driver. Thanks for your support. Ha...@we... This part is only working :-( Declare Sub usb_init Lib "libusb0.dll" () Declare Function usb_find_busses Lib "libusb0.dll" () As Integer Declare Function usb_find_devices Lib "libusb0.dll" () As Integer usb_init() nBusses = usb_find_busses() nDevices = usb_find_devices() Label1.Text = "Devices " & nDevices Label2.Text = "Busses " & nBusses |