How to Write a COM+ Component
- Published 01/05/2010
Discover how to write a component that can be used in a COM+ enviroment.
Discover how to write a component that can be used in a COM+ enviroment.
Learn about a simple way to understand and implement the COM+ Admin and Instrumentation interfaces.
Learn how to implement some basic error handling and perform cleanup operations.
Learn how to work around the restriction of using a single handler type at a time.
CComPtr wraps any interface pointer and will call AddRef() and Release() properly. You don't need to worry about controlling the lifetime of your interface pointer.