K8055 & SearchDevices()

Hi, I have been using the k8055 and the ‘SearchDevices()’ DLL function to detect if the k8055 is sill connected to the PC, after a number of hours running, the PC running the software would stop responding to all inputs (CPU 100% devoted to my application), disconnecting the k8055 would return everything to normal.

In debugging this I discovered that the call to ‘SearchDevices()’ was the culprit as every call to it would create handles and not close them thus using a lot of resources over time, is this how the function is supposed to work?, if so, is there a method to detect when the k8055 is no longer connected to the PC without disrupting the current connection if it is still active?

my software worked as follows, I have since removed the ‘SearchDevices()’ call in the while loop, to fix the issue.

also I am developing in C++ via Visual studio 2008.

thanks

I’m sorry for the inconvenience.
In this thread the issue is discussed:
viewtopic.php?f=3&t=8630
There is also links to load updated K8055D.DLL versions (for K8055 and K8055N).

thank you very much, that looks to have fixed the issue.