LabWindows/CVI

Content Type
Programming Language
Current manual

DDE and Multithreading

DDE and Multithreading

Although it is safe to use DDE Support Library functions in a multithreaded executable, you must observe a few restrictions. The following restrictions stem from limitations in the Windows implementation of DDE.

  • After you call RegisterDDEServer to register your program as a server, you must make all subsequent function calls that apply to the server in the same thread in which you called RegisterDDEServer.
  • After you call ConnectToDDEServer to create a client connection, you must make all subsequent function calls that apply to the connection in the same thread in which you called ConnectToDDEServer.
Was this information helpful?