Thanks for the responses. Here's a more detailed description of what I am trying to do:
The particular part in the code is attempting to put the USB HID device into a boot loader mode by sending a USB command. Once the device receives this command I know it will disconnect and reconnect from the...
Hi All,
I have a borland c++ builder application where I am lauching a thread to manage USB HID communications with an external device. I want to wait a specified amount of time at a point within this thread for the device to be attached. Is there an easy way of setting up a timeout to do this...
Thanks. As I said this method is from a Delphi example I found that I am attempting to convert to C++. The main thing I want to achieve is to only allow one instance of the program to run and if it is already running restore the main form and bring to the front.
Currently my application is...
I am trying to implement a Delphi example I found for preventing multiple instances of an application built in c++ builder.
I have created a unit called CheckPrevious.cpp with a routine called RestoreIfRunning() and a destructor. How do I use this unit from the main project source file within...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.