COM+ and Standard COM Components

In this section, you'll look at the pros and cons of using standard COM components in the COM+ environment. You'll begin by building a standard COM component and examining its features. Then you'll deploy and test the COM component under COM+. Finally, you'll explore the pros and cons facing a standard COM component operating within the COM+ runtime.

A Standard COM Component

To get started working with COM+, you can build a normal COM component with no specific COM+ support and see how it operates under COM+ control. To try this demonstration, you will need to create a basic ATL DLL project called Stateful. Next, add a simple ATL COM class to the project naming it Sum. (Right-click the project icon in the class ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.