Solved

IPC w/out windows.

Posted on 2000-03-22
4
202 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
  • 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: 2646739
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TTimer no longer functioning 7 90
Issue accessing member variable of atomic class 16 116
Dynamically allocate memory 9 58
Dialogbox API leak? 18 94
  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 …
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

770 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