Solved

IPC w/out windows.

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

829 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