Solved

IPC w/out windows.

Posted on 2000-03-22
4
216 Views
Last Modified: 2010-04-02
I need to send data from one process to another process. The communication only needs to be one way. I wanted to use PostThreadMessage but there are no windows with these applications so they don't have message maps. I need to send a lot of information between these processes and I don't want to lose any of the data. If there is too much information it should be placed in a queue or buffer of some sort. All of the sample code I have found on the web is two-way communication between two or more windows. I don't think what I need is nearly that complicated. Any ideas?

I am using NT4 with Visual C++ 6.0.
0
Comment
Question by:jmnolan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 300 total points
ID: 2646720
Use mailslots.
0
 
LVL 23

Expert Comment

by:chensu
ID: 2646746
0
 

Author Comment

by:jmnolan
ID: 2651024
My savior! I love this place!

Thanks a lot, mailslots work a lot better than writing data to files...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question