The MASM Forum

Projects => MASM32 => Topic started by: hutch-- on November 21, 2012, 10:32:24 AM

Title: Memory mapped file remote logger example.
Post by: hutch-- on November 21, 2012, 10:32:24 AM
This is the second version of a remote logger that addressed a task that Sinsi was designing but it serves as an example of using both a memory mapped file and a custom message to communicate between two running applications. It is an operating system designed method of communication and it has the advantage of being able to handle very large amounts of data between application where necessary. This example only writes 4 DWORD variables and 4 x 1k string buffers to a 64k memory mapped file but it can handle far bigger amounts of data and it is fast in that it only requires one PostMessage to pass all of the data between apps.

There are two apps, start the send app then start the logger app. Buttons should be obvious.  :biggrin:
Title: Re: Memory mapped file remote logger example.
Post by: jj2007 on November 22, 2012, 03:05:38 AM
Works like a charm, provided you remove the H: in rsrc.rc  ;)