Microsoft KB Archive/276012

= PRB: IObjectControl::Activate and Deactivate Are Not Called When Object Is Created in Caller's Context =

Article ID: 276012

Article Last Modified on 12/5/2007

-

APPLIES TO


 * Microsoft COM+ 1.0
 * Microsoft COM+ 1.5

-



This article was previously published under Q276012



SYMPTOMS
If a COM+ component that implements the IObjectControl interface is activated in the caller's context, the Activate and Deactivate methods of the IObjectControl interface are not called.



CAUSE
When a component is created in the caller's context, the client receives a direct reference to the component. Thus, COM+ has no way to intercept method calls to the component.

