RAD Studio VCL Reference
TComponent.ComObject Property

Specifies the interface reference implemented by the component.

property ComObject: IUnknown;
__property IUnknown ComObject;

Use ComObject to assign a COM interface implemented by a component to an interface reference. This property is used by components that support COM interfaces.  

If the component is not a wrapper for a COM component, trying to read ComObject causes TComponent to raise an EComponentError exception. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!