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 8544321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:31:43+00:00 2026-06-11T12:31:43+00:00

I am implementing inter process communication using Boost Interprocess. As a test I took

  • 0

I am implementing inter process communication using Boost Interprocess.
As a test I took the example from the boost documentation.

The first process (which creates the message queue) starts the other (which should receive the messages from the queue) using CreateProcess(NULL, (LPSTR)commandStream.str().c_str(), NULL, NULL, FALSE, NULL, NULL, NULL, &si, &pi)

The first process creates the queue using message_queue mq(create_only, "message_queue", 100, sizeof(int)).

Unfortunately, message_queue mq(open_only, "message_queue") throws an interprocess_exception. The exception contains the description Das System kann die angegebene Datei nicht finden. (The system can’t find the requested file).

When the queue’s creation and opening is both done in one single process, no exception is thrown and the communication works as described in the documentation.

Does someone know what could cause the exception and how I can solve it?

Edit: I am using Boost 1.45

  • 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-06-11T12:31:45+00:00Added an answer on June 11, 2026 at 12:31 pm

    The exception is caused by a problem in the Boost Interpocessing library as described in this ticket. The bug has been reopened and it is not totally clear to me how the Boost code has been changed and how a workaround could be applied for Boost 1.45.
    However, after upgrading to Boost 1.51 I am now able to use the Message Queue as expected.

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

Sidebar

Related Questions

I am using RCF for Inter Process Communication in a project. Is there a
I'm implementing Inter-Thread Communication using global variable. //global var volatile bool is_true = true;
I'm implementing a pair of classes for interprocess communication where one process will be
I'm implementing a class (or rather a Baseclass, and classes inherit from it), which
implementing publishActivity in PHP using the REST API using this code: $activity = array(
Implementing a simple Login screen using JSF and Spring and Hibernate. I have written
When implementing a hash table using a good hash function (one where the probability
Before implementing j_security_check using MySQL realm authentication in my web app. I had the
When implementing the Strategy Pattern, where does one put the code that determines which
I need help with implementing fast forward and rewind. I'm using directshow in c#

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.