title: Using CreateFileMapping between two programs - C
body: <p>I have two window form applications written in C, one holds a struct consisting of two integers, another will receive it using the CreateFileMapping.</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>I didn't want to start implementing it without having some sort of clear idea as to what I need to do.</p>
  
  <p>Thanks for your time.</p>