Using Signals between Threads and DLL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lorenzwo
    New Member
    • Dec 2007
    • 1

    Using Signals between Threads and DLL

    Hi, I have to write a c-DLL which works with a special Com Port. in this DLL I Create a new Thread. This Thread Watch the Port with Events. Then I get an Event ( Data on Port).

    In which way i can signal from this thread into DLL or Appl. that Data arrives my Port?? It have to work asynchron.
    but signal doesn't work.
    Please help me
    Thanks
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Which OS?? With Windows you use SetEvent() and WaitForSingleOb ject().

    Comment

    Working...