ComObj

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

Class

EOleError

EOleError is the exception class for low-level OLE errors.

EOleException

EOleException is the exception class for OLE automation errors that occur in methods or properties of an object.

EOleRegistrationError

EOleRegistrationError is the exception class for errors that occur when registering an OLE object.

EOleSysError

EOleSysError is the exception class for errors specific to the OLE IDispatch interface.

TAutoIntfObject

TAutoIntfObject implements the IDispatch and ISupportErrorInfo interfaces.

TAutoObject

TAutoObject is a CoClass that supports the IDispatch interface, and that can be used as a base class for ActiveX Automation servers.

TAutoObjectFactory

TAutoObjectFactory is the class factory for TAutoObject.

TComClassManager

TComClassManager is the class type of the ComClassManager variable in the ComObj unit.

TComObject

TComObject is the base class for creating simple COM classes, such as those used for creating Shell extensions.

TComObjectFactory

TComObjectFactory is the type of the class factory object used to instantiate a TComObject class.

TComServerObject

TComServerObject is the abstract base class for TComServer.

TTypedComObject

TTypedComObject supports the IProvideClassInfo interface and is the class type for COM objects that can provide the type information without requiring a type library to be loaded.

TTypedComObjectFactory

TTypedComObjectFactory is the type of the class factory object used to instantiate a TypedComObject class.

Classref

TAutoClass
TComClass
TTypedComClass

Enum

TClassInstancing

UTClassInstancing determines how COM objects are instantiated.

TThreadingModel

TThreadingModel indicates how COM serializes calls to a COM object.

Function

ClassIDToProgID

Returns the programmatic ID for a specified class given its class ID (CLSID).

ComClassManager

Returns a TComClassManager object.

CreateClassID

CreateClassID generates a new GUID and returns it as a string.

CreateComObject

Instantiates a single instance of a COM object.

CreateOleObject

Instantiates an Automation object.

CreateRegKey

Creates or opens a registry key that is a subkey of HKEY_CLASSES_ROOT.

CreateRemoteComObject

Creates a Com object on another machine and returns an IUnknown interface for it.

DeleteRegKey

Deletes a single key that is a subkey of HKEY_CLASSES_ROOT from the system registry.

DispatchInvoke
DispatchInvokeError
GUIDToString
GetActiveOleObject

Retrieves a reference to an IDispatch interface to a currently running, registered COM object.

GetDispatchPropValue

Returns the value of a property on an IDispatch interface.

GetRegStringValue

Retrieves a value stored under a subkey of HKEY_CLASSES_ROOT from the system registry.

HandleSafeCallException
InterfaceConnect

Connects an IConnectionPoint interface.

InterfaceDisconnect

Disconnects an IConnectionPoint interface connection that was previously made by the InterfaceConnect procedure.

OleCheck

Throws an EOleSysError exception if the result code indicates an error.

OleError

Raises an EOleSysError exception.

ProgIDToClassID

Returns the class ID (CLSID) GUID that corresponds to the string specified as the ProgID parameter.

RegisterAsService

Registers a COM object as an NT service.

RegisterComServer

Registers an in-process COM server with the operating system.

SetDispatchPropValue

Sets the value of a property on an IDispatch interface.

StringToGUID
StringToLPOLESTR

Interface

IServerExceptionHandler

Variable

CoAddRefServerProcess
CoCreateInstanceEx
CoInitFlags

Specifies the level of threading support requested for a COM server .EXE.

CoInitializeEx
CoReleaseServerProcess
CoResumeClassObjects
CoSuspendClassObjects

C++ Information

Class

EOleError

EOleError is the exception class for low-level OLE errors.

EOleException

EOleException is the exception class for OLE automation errors that occur in methods or properties of an object.

EOleRegistrationError

EOleRegistrationError is the exception class for errors that occur when registering an OLE object.

EOleSysError

EOleSysError is the exception class for errors specific to the OLE IDispatch interface.

IServerExceptionHandler
TAutoIntfObject

TAutoIntfObject implements the IDispatch and ISupportErrorInfo interfaces.

TComServerObject

TComServerObject is the abstract base class for TComServer.

Enum

TClassInstancing

UTClassInstancing determines how COM objects are instantiated.

TThreadingModel

TThreadingModel indicates how COM serializes calls to a COM object.

Function

ClassIDToProgID

Returns the programmatic ID for a specified class given its class ID (CLSID).

CreateClassID

CreateClassID generates a new GUID and returns it as a string.

CreateComObject

Instantiates a single instance of a COM object.

CreateOleObject

Instantiates an Automation object.

CreateRegKey

Creates or opens a registry key that is a subkey of HKEY_CLASSES_ROOT.

CreateRemoteComObject

Creates a Com object on another machine and returns an IUnknown interface for it.

DeleteRegKey

Deletes a single key that is a subkey of HKEY_CLASSES_ROOT from the system registry.

DispatchInvoke
DispatchInvokeError
GUIDToString
GetActiveOleObject

Retrieves a reference to an IDispatch interface to a currently running, registered COM object.

GetDispatchPropValue

Returns the value of a property on an IDispatch interface.

GetRegStringValue

Retrieves a value stored under a subkey of HKEY_CLASSES_ROOT from the system registry.

HandleSafeCallException
InterfaceConnect

Connects an IConnectionPoint interface.

InterfaceDisconnect

Disconnects an IConnectionPoint interface connection that was previously made by the InterfaceConnect procedure.

OleCheck

Throws an EOleSysError exception if the result code indicates an error.

OleError

Raises an EOleSysError exception.

ProgIDToClassID

Returns the class ID (CLSID) GUID that corresponds to the string specified as the ProgID parameter.

RegisterAsService

Registers a COM object as an NT service.

RegisterComServer

Registers an in-process COM server with the operating system.

SetDispatchPropValue

Sets the value of a property on an IDispatch interface.

StringToGUID
StringToLPOLESTR

Typedef

_di_IServerExceptionHandler

Variable

CoInitFlags

Specifies the level of threading support requested for a COM server .EXE.

Personal tools
Translations
Newest Version