News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

COM can run across processes

Started by sukishan, Aug 13, 2009, 12:58 PM

Previous topic - Next topic

sukishan

In COM, you as the programmer are allowed to create objects in other processes, and on any machine on the network. That does not mean that you will always do it (in many cases you won't). However, the possibility means that you can't create a COM object using the normal C++ new statement , and calling its methods with local procedure calls won't suffice.

To create a COM object, some executing entity (an EXE or a Service) will have to perform remote memory allocation and object creation. This is a very complex task. By remote, we mean in another process or on another process. This problem is solved by creating a concept called a COM server. This other entity will have to maintain tight communication with the client.
A good beginning makes a good ending