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

  • Home
  • SEARCH
  • 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 383371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:16:35+00:00 2026-05-12T15:16:35+00:00

I have a plugin for a c++ MFC app. I’m working with the developer

  • 0

I have a plugin for a c++ MFC app. I’m working with the developer of another plugin for the same app, that’s trying to get notifications of events in my code. Both plugins are in the form of c++ dlls.

How can I pass messages from my plugin to his plugin? The solution needs to be robust to mismatched versions of our two plugins, as well as the host app. The notifications are during control point movement, so several times a second.

I could set up a callback mechanism, where upon load his plugin calls a function in my plugin with a function pointer. We’re not guaranteed any loading order, but we could probably just check periodically.

I know Win32 has a messaging system, but I’m not sure how it works, really. We could add a hook, and I could send messages, but I’m a bit fuzzy on how we’d synchronize what the message id is, or any details other than what I said, really.

Any other ideas on how to do this?

  • 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-12T15:16:35+00:00Added an answer on May 12, 2026 at 3:16 pm

    Take a look at this article here, it shows the available IPC mechanisms in windows. I might try COM, Mailslots, Pipes or Shared Memory (file mapping) in your case, in addition to windows messages which you already mentioned.

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

Sidebar

Related Questions

I have a plugin that relies on a custom url mapping. When i install
I have a plugin that needs to add something the the base Redmine layout.
I have an application that loads plugins. I have a plugin that has complete
I have a plugin system. The plugins subclass from a common ancestor... ad look
I have a plugin which at present doesn't have any extension points (neither does
So this is sort of an exceptional case situation - I have a plugin
I can't find quite the answer I'm looking for anywhere. I have a plugin
I have a C++ dll reporting lots of useful information via console output using
I have an idea for a chrome extension where I take a protocol, just
I have created a simple silverlight application to display some text at realtime from

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.