Write a Win32 console application (Process 1) illustrating the creation of a memory mapped object of size 512KB with name “mysharedobject”. Create an event object with name “synchronise” with state non-signalled. Read the memory mapped object when the event is signalled and display the contents on the console window. Create a second console application (Process 2) for opening the memory mapped object with name “mysharedobject” and event object with name “synchronise”. Write the message “Message from Process 2” to the memory mapped object and set the event object “synchronise”. Use appropriate error handling mechanisms wherever possible. Compile both the applications using Visual Studio and execute them in the order Process 1 followed by Process 2 under Windows OS.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here