Show: Delphi C++
Display Preferences

System.Win.ComObj

From XE2 API Documentation
Jump to: navigation, search


Contents

Classes

EOleErrorEOleError is the exception class for low-level OLE errors.
EOleExceptionEOleException is the exception class for OLE automation errors that occur in methods or properties of an object.
EOleRegistrationErrorEOleRegistrationError is the exception class for errors that occur when registering an OLE object.
EOleSysErrorEOleSysError is the exception class for errors specific to the OLE IDispatch interface.
IServerExceptionHandler
TAutoClass
TAutoIntfObjectTAutoIntfObject implements the IDispatch and ISupportErrorInfo interfaces.
TAutoObjectTAutoObject is a CoClass that supports the IDispatch interface, and that can be used as a base class for ActiveX Automation servers.
TAutoObjectEvent
TAutoObjectFactoryTAutoObjectFactory is the class factory for TAutoObject.
TComClass
TComClassManagerTComClassManager is the class type of the ComClassManager variable in the ComObj unit.
TComObjectTComObject is the base class for creating simple COM classes, such as those used for creating Shell extensions.
TComObjectFactoryTComObjectFactory is the type of the class factory object used to instantiate a TComObject class.
TComServerObjectTComServerObject is the abstract base class for TComServer.
TConnectionPointTConnectionPoint implements the IConnectionPoint interface for a single outgoing interface.
TConnectionPointsTConnectionPoints implements the IConnectionPointContainer interface for a COM object that generates events on clients.
TEventDispatchInvoker
TTypedComClass
TTypedComObjectTTypedComObject 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.
TTypedComObjectFactoryTTypedComObjectFactory is the type of the class factory object used to instantiate a TypedComObject class.

Routines

ClassIDToProgIDReturns the programmatic ID for a specified class given its class ID (CLSID).
ComClassManagerReturns a TComClassManager object.
CreateClassIDCreateClassID generates a new GUID and returns it as a string.
CreateComObjectInstantiates a single instance of a COM object.
CreateOleObjectInstantiates an Automation object.
CreateRegKeyCreates or opens a registry key that is a subkey of HKEY_CLASSES_ROOT.
CreateRemoteComObjectCreates a Com object on another machine and returns an IUnknown interface for it.
DeleteRegKeyDeletes a single key that is a subkey of HKEY_CLASSES_ROOT from the system registry.
DispatchInvoke
DispatchInvokeError
EventDispatchInvoke
GetActiveOleObjectRetrieves a reference to an IDispatch interface to a currently running, registered COM object.
GetDispatchPropValueReturns the value of a property on an IDispatch interface.
GetRegStringValueRetrieves a value stored under a subkey of HKEY_CLASSES_ROOT from the system registry.
GUIDToString
HandleSafeCallException
InterfaceConnectConnects an IConnectionPoint interface.
InterfaceDisconnectDisconnects an IConnectionPoint interface connection that was previously made by the InterfaceConnect procedure.
OleCheckThrows an EOleSysError exception if the result code indicates an error.
OleErrorRaises an EOleSysError exception.
ProgIDToClassIDReturns the class ID (CLSID) GUID that corresponds to the string specified as the ProgID parameter.
RegisterAsServiceRegisters a COM object as an NT service.
RegisterComServerRegisters an in-process COM server with the operating system.
SetDispatchPropValueSets the value of a property on an IDispatch interface.
StringToGUID
StringToLPOLESTR

Types

_di_IServerExceptionHandler
_di_TEventDispatchInvoker
TAutoClass
TClassInstancingUTClassInstancing determines how COM objects are instantiated.
TComClass
TConnectEvent
TConnectionKindThis is a tuple that contains possible values for the connection type.
TFactoryProc
TOleVariantArray
TThreadingModelTThreadingModel indicates how COM serializes calls to a COM object.
TTypedComClass

Variables

CoAddRefServerProcess
CoCreateInstanceEx
CoInitFlagsSpecifies the level of threading support requested for a COM server .EXE.
CoInitializeEx
CoReleaseServerProcess
CoResumeClassObjects
CoSuspendClassObjects
TOleVariantArray

Constants

ciInternalciInternal: TClassInstancing = ciInternal;
ciMultiInstanceciMultiInstance: TClassInstancing = ciMultiInstance;
ciSingleInstanceciSingleInstance: TClassInstancing = ciSingleInstance;
ckMultickMulti: TConnectionKind = ckMulti;
ckSingleckSingle: TConnectionKind = ckSingle;
tmApartmenttmApartment: TThreadingModel = tmApartment;
tmBothtmBoth: TThreadingModel = tmBoth;
tmFreetmFree: TThreadingModel = tmFree;
tmNeutraltmNeutral: TThreadingModel = tmNeutral;
tmSingletmSingle: TThreadingModel = tmSingle;


Personal tools
Previous Versions
Translations