This article describes an All-In-One Code Framework sample that is available for download. This code sample includes a step-by-step guide about how to develop an out-of-process COM server by using Visual C++, Visual C#, or Visual Basic .NET.
Difficulty level
Collapse this imageExpand this image
Download information
To download this code sample, click the following link:

Technical overview
In Microsoft Windows operating systems, the Microsoft COM technology enables 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.
Out-of-process server objects are implemented in an executable file and are run in a separate process space.
Note For more information about how to create the sample application and how to deploy the sample application, see the Readme.txt file that is included in the download package.
Technology category
Languages
This code sample contains the following programming languages:
Collapse this tableExpand this table
| Language | Project Name |
| Visual C++ .NET | ATLExeCOMServer |
| Visual C# | CSExeCOMServer |
| Visual Basic .NET | VBExeCOMServer |
Prerequisites
- This sample application was created by using Visual Studio 2008 with Service Pack 1 installed.
Tags
- COM, ATL, out-of-process, Interop
What 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 samples
To 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)
For more information, visit the following Web site:
ATL Tutorial
(http://msdn.microsoft.com/en-us/library/599w5e7x.aspx)