Simon Mourier's Avatar
Simon Mourier's blog (1807 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI3, AOT, P/Invoke, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • c/c++
  • qt
  • winapi

C++ How to make two programs communicate?

Apr 30, 2011 See the question and my original answer on StackOverflow

If you're using Qt, I believe it has the notion of Plugin: How to Create Qt Plugins

Otherwise, COM works fine. With C++ , I would use the ATL library, but there is also COM support in Qt.

If you want to go more low level, I would use sockets or named pipes (since you're working with Windows)

  • SmoBlog © 2010-2026 Simon Mourier. All rights reserved.
  • Privacy & Terms