Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4563932
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:25:47+00:00 2026-05-21T18:25:47+00:00

Question: What is the best way to make two programs (both running on the

  • 0

Question: What is the best way to make two programs (both running on the same computer) communicate and interact? (Windows, C++)

Theoretical situation:

  1. On a Windows PC, I have a 3rd party software that you use to do stuff (like open/edit/save files…it’s not really important). This 3rd party software has an available C++ SDK so you can develop plugins for it.

  2. I develop a separate standalone Windows C++ program (most likely using Qt) with a GUI. This program is made to run on the same Windows computer as the 3rd party software. This program would act as a remote control or sender.

  3. Using the 3rd party software’s SDK, I develop a tiny plugin for the 3rd party software. This program acts as a receiver, so that my Qt GUI can send commands that this plugin would receive and thus remote control the 3rd party software accordingly.

So for a basic example, I could press a button on my standalone GUI that would communicate with the plugin that would then open a specified file in the 3rd party software.

What I’m essentially looking for is to develop standalone software that would communicate back and forth with a plugin that I would develop for the 3rd party software.

What is the best approach to this? I really have no clue where to start or what to look at. Are there common C++ libraries that make this type of thing easy?

I’m relatively new to C++ and very new to Qt, so please try to elaborate. Please don’t just say “Use Shared Memory” or something like that cause I’m not gonna know exactly what you are talking about.

The program would NOT be run on a separate computer, so no network stuff is necessary here I don’t think.

Some questions I was thinking about:

  1. What if user has multiple copies of 3rd party software open at the same time. How does my standalone software know which one to communicate with?

  2. If I already have my standalone software running and open the 3rd party software, does the plugin somehow have to register or find my standalone software to communicate with it?

  3. If I already have the 3rd party software running and then open my standalone software does it have to scan for the plugin to see if its running or how does it find it?

Any help would be greatly appreciated. I’ve done a search on the topic on SO but didn’t see many questions for C++ specifically and most of them didn’t have many answers or weren’t very clear or didn’t specifically refer to software communication with a plugin for a 3rd party program.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:25:48+00:00Added an answer on May 21, 2026 at 6:25 pm

    there are many solutions with many pros and cons. you will have to do some reading on each to work out which is best for you. no solution is best for everyone

    here is a good starting place http://msdn.microsoft.com/en-us/library/aa365574(v=vs.85).aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Expanding on this question , what is the best way to develop against both
I have a question on the best way of exposing an asynchronous remote interface.
(MFC Question) What's the best way to determine the current displayed client area in
This question will expand on: Best way to open a socket in Python When
Following on from the question asked by Mykroft Best way to handle input from
A question that occasionally arises is what is the best way to determine the
Following on from this question what would be the best way to write a
What is the best way to print stuff from c#/.net? The question is in
I started off by drafting a question: What is the best way to perform
Following on from this question, what would be the best way to represent a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.