Solved

IPC w/out windows.

Posted on 2000-03-22
4
213 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: 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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.

738 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