Using CreateFileMapping between to programs - C
Posted
by Jamie Keeling
on Stack Overflow
See other posts from Stack Overflow
or by Jamie Keeling
Published on 2010-04-14T21:58:48Z
Indexed on
2010/04/14
22:03 UTC
Read the original article
Hit count: 232
Hello,
I have two window form applications written in C, one holds a struct consisting of two integers, another will receive it using the CreateFileMapping.
Although not directly related I want to have three events in place so each of the processes can "speak" to each other, one saying that the first program has something to pass to the second, one saying the first one has closed and another saying the second one has closed.
What would be the best way about doing this exactly? I've looked at the MSDN entry for the CreateFileMapping operation but I'm still not sure as to how it should be done.
I didn't want to start implementing it without having some sort of clear idea as to what I need to do.
Thanks for your time.
© Stack Overflow or respective owner