Click here to Skip to main content
15,893,381 members
Articles / Programming Languages / C++

Single class object for multiple COM classes

Rate me:
Please Sign up or sign in to vote.
3.20/5 (10 votes)
2 Aug 20036 min read 75.1K   967   24  
Creation of multiple COM object types using a single Class Factory implementation
This include the following files.
1. CLSFACTORY.zip : This corrosponds to the COM In-proc server.
The COM server implements a single class oject for multiple COM
classes, which are exposed by the COM server.
The Dll which will be created after linking this project has to be registered
by using a utility called regsvr32.exe.

2. CLSFACTORYCLIENT.zip : This corrosponds to the COM Client which will
be using the COM server. The client will create and uses the services of
two COM classes by using a single class object.

3. single_object_for_multiple_com_classes.html : The article which will explain the
Server side code and Client side in detail.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions