Article ID: 976026 - Last Review: October 15, 2009 - Revision: 1.5 How to develop an in-process COM component
On This PageINTRODUCTIONThis article describes an All-In-One Code Framework sample that is available for download. This sample includes a step-by-step guide that shows how to develop an in-process COM component by using Visual C++, Visual C#, or Visual Basic .NET. Note This code sample that is described in this article is not meant for use in a production environment. It is provided only for illustration. This code sample is released under the terms of the Microsoft Public License (MS-PL). Difficulty levelCollapse this image ![]() Download informationTo download this code sample, click the following link:Technical overviewIn Microsoft Windows operating systems, the Microsoft COM technology lets software components communicate with other software components. You can use Microsoft COM technology to create reusable software components. You can also develop applications by linking these components together and take advantage of Windows services.You can develop Microsoft COM objects by using different programming languages. For example, you can use object-oriented languages, such as C++ or C#. Note You can use Active Template Library (ATL) in Visual C++ to simplify the implementation of COM objects. The sample projects that are provided in this download package show how you can expose properties, methods, and events in Microsoft COM technology. Note For more information about how to use this sample, see the Readme.txt file that is included in the download package. Technology category
LanguagesThis sample contains code samples in the following programming languages:Collapse this table
Prerequisites
Tags
MORE INFORMATIONWhat is All-In-One Code Framework?All-In-One Code Framework shows most Microsoft development techniques by using code samples in different programming languages. Each example is carefully selected, composed, and documented to show one common code scenario. For more information about All-In-One Code Framework, visit the following Web site:http://cfx.codeplex.com (http://cfx.codeplex.com) How to find more All-In-One Code Framework samplesTo find more All-In-One Code Framework samples, you can search for kbcodefx together with related keywords on support.microsoft.com. Or, you can simply click the following link:http://support.microsoft.com/search/default.aspx?query=kbcodefx (http://support.microsoft.com/search/default.aspx?query=kbcodefx)REFERENCESFor more information about Active Template Library (ATL), visit the following Microsoft Developer Network (MDSN) Web site: http://msdn.microsoft.com/en-us/library/599w5e7x.aspx
(http://msdn.microsoft.com/en-us/library/599w5e7x.aspx)
For more information about how to expose .NET Framework components to COM, visit the following MSDN Web site:http://msdn.microsoft.com/en-us/library/zsfww439.aspx
(http://msdn.microsoft.com/en-us/library/zsfww439.aspx)
For more information about the Microsoft Public License, vist the following Web site:
http://opensource.org/licenses/ms-pl.html
(http://opensource.org/licenses/ms-pl.html)
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top




