Partager via


COleObjectFactory Members

Base Class Members

CObject Members

CCmdTarget Members

Construction

COleObjectFactory

Constructs a COleObjectFactory object.

Operations

Register

Registers this object factory with the OLE system DLLs.

RegisterAll

Registers all of the application's object factories with OLE system DLLs.

Revoke

Revokes this object factory's registration with the OLE system DLLs.

RevokeAll

Revokes an application's object factories' registrations with the OLE system DLLs.

UnregisterAll

Unregisters all of an application's object factories.

UpdateRegistryAll

Registers all of the application's object factories with the OLE system registry.

Attributes

GetClassID

Returns the OLE class ID of the objects this factory creates.

IsLicenseValid

Determines if the license of the control is valid.

IsRegistered

Indicates whether the object factory is registered with the OLE system DLLs.

Overridables

GetLicenseKey

Requests a unique key from the control's DLL.

OnCreateObject

Called by the framework to create a new object of this factory's type.

UpdateRegistry

Registers this object factory with the OLE system registry.

VerifyLicenseKey

Verifies that the key embedded in the control matches the key embedded in the container.

VerifyUserLicense

Verifies that the control is licensed for design-time use.

See Also

Reference

COleObjectFactory Class

Hierarchy Chart