Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. danielmashman

    Timeouts in a thread?

    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...
  2. danielmashman

    Timeouts in a thread?

    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...
  3. danielmashman

    Preventing multiple instances of application

    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...
  4. danielmashman

    Preventing multiple instances of application

    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...

Part and Inventory Search

Back
Top