Creating an Object Through a Class Object

With the increasing importance of computer networks, it has become necessary for clients and servers to interact easily and efficiently, whether they reside on the same machine or across a network. Crucial to this is a client's ability to launch a server, create an instance of the server's object, and have access to the methods of the interfaces on the object.

COM provides extensions to this basic COM process that make it virtually seamless across a network. If a client is able to identify the server through its CLSID, calling a few simple functions permit COM to do all the work of locating and launching the server and activating the object. Subkeys in the registry allow remote servers to register their location, so the client does not require that information. For applications that want to take advantage of networking features, the COM object creation functions allow more flexibility and efficiency.

For more information, see the following topics:

Related topics

COM Clients and Servers

 

 

Community Additions

ADD
Show:
© 2014 Microsoft