RSS
 
 
 
 
formats

IPC (part 3) – Shared Memory

Shared Memory is the fastest way to share some data between two processes. Concept is very simple – one process will create an area in the Memory which other process can access it.

Read more on IPC (part 3) – Shared Memory…

 
formats

IPC (part 2) – Windows Messages

One of the most popular way of Inter-Process Communication is over Windows Messages using SendMessage and PostMessage functions.

In this case one process creates new (very often invisible) window and “listen” for specific window messages. Second process needs to know window handle of the first process – usually can get it over command line parameter or to use FindWindow function to find the window with specific title or created with specific Class name. The process that listen to the messages we are going to call Server, and the one that will send the messages we could call Client.

Read more on IPC (part 2) – Windows Messages…

 
formats

IPC – Inter Process Communication

Every of us developers had sometime needs for communication between two processes. Either we need to start new process as a different user or to communication with installed service or even to share some data with process on the other computer in local network or over the Internet. In all those cases we need to involve some way of communication between two different processes – IPC.

Read more on IPC – Inter Process Communication…

 
formats

Welcome to cpp-blog.com

Published on January 3rd, 2012 by in General

On CPP Blog I will write different articles about Software Development – mostly in C++, but I will touch some thematics for other languages like Objective-C, Java, Delphi, PHP, C#, …

Read more on Welcome to cpp-blog.com…

 
 
© cpp-blog.com 2012
credit