Hi all…
My environment: Win7, Visual Studio 2008 .Net Fx 3.5 C#, latest K8061.dll from web
I have two cases which i want to handle concerning the usb connection:
- I want to automatically renew the connection after the usb device was reattached, but my .net application runs all the time.
- I want to automatically renew the connection after my .net application restarted, butthe device was connected all the time.
At the moment i’m trying to write code which renew’s the usb connection after the device was unplugged from the computer. i noticed that’s not possible to call the OpenDevice function after the device was reattached. this function returns buggy data and my application crashes.
I also noticed, that it is not possible to call OpenDevice after i called CloseDevices (usb led disappeared) within the same application instance neither in another new application instance (usb device was connected all the time)
Is this familiar? Or how can i guarantee that usb connection i ok after the device was reattached or my application restarted?
thanks for your assistance! Regards flenny
EDIT I just saw the Vista Pack drivers! it solved the problems. please remove buggy dll’s from velleman download area!