COM+ Sample Applications


COM+ samples help you understand how to use COM+ features. We provide Visual Basic, Visual C++, and Visual J++ projects that demonstrate the implementation of services such as queued components and events.

How to Use COM+ Samples

First build the [MSSDK]\samples\com\common\inc and [MSSDK]\samples\com\common\proxystub directores in the [MSSDK]\samples\com\common folder. Then compile the samples to see how the application runs. Then you can drill down into the code by stepping through the server components and client implementations. You can either use these applications as a learning tool, or modify them to use in your applications. The COM+ samples directory contains the following sub-directories:
Samples directory Description
Administration Applications demonstrating how to use and automate COM+ adminsitration
Application_Samples Enterprise-level COM+ user applications as a "best practice" model
Fundamentals Tutorial samples for basic COM programming and other COM Base feature samples
Installation_Verification COM+ application to verify correct installation of COM+
Performance Toolkit beta for tuning COM application performance
Services Applications demonstrating different COM+ services
COM Tutorial COM development tutorials

Obtaining Complete Documentation on COM+ Features

COM+ Samples provide an overview of the sample demonstrating a COM+ feature. For complete documentation and reference material on implementing a COM+ feature, see the COM+ documentation located in the Microsoft Platform SDK documentation.

Build Notes

To build COM+ samples, you must first build the [MSSDK]\samples\com\common\inc and [MSSDK]\samples\com\common\proxystub folders in the [MSSDK]\samples\com\common\ folder. It is important to make sure that your development environment points to the the Microsoft Platform SDK \include, \lib, and \bin directories.