Declaration¶
Source position: classesh.inc line 2574
type
IVCLComObject = interface
['{E07892A0-F52F-11CF-BD2F-0020AF0E5B81}']
function GetTypeInfoCount : HRESULT; stdcall;
function GetTypeInfo : HRESULT; stdcall;
function GetIDsOfNames : HRESULT; stdcall;
function Invoke : HRESULT; stdcall;
function SafeCallException : HRESULT;
procedure FreeOnRelease;
end;
Inheritance¶
Description¶
IVCLComObject is used by TComponent to implement the IUnknown interface used by COM automation servers. Partially, it is the translation to pascal of the IDispatch interface definition by Microsoft. If TComponent needs to return an IUnknown interface, it creates a IVCLComObject interface instead.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| FreeOnRelease | default | Is called by TComponent.FreeOnRelease. |
| GetIDsOfNames | default | The IDispatch:GetIDsOfNames call for automation servers. |
| GetTypeInfo | default | The IDispatch:GetTypeInfo call for automation servers. |
| GetTypeInfoCount | default | The IDispatch:GetTypeInfoCount call for automation servers. |
| Invoke | default | The IDispatch:Invoke call for automation servers. |
| SafeCallException | default | This method can be invoked if an exception occurs during Invoke. |
See also¶
| Name | Description |
|---|---|
| TComponent.VCLComObject | Not implemented. |