Solved

IPC w/out windows.

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now