[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'Types' (#rtl)

# IClassFactory

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Class defined for ActiveX compatibility.

## Declaration

Source position: types.pp line 307

`type IClassFactory = interface(IUnknown)`
`function CreateInstance();` |  | Create a new instance of an interface.
`function LockServer();` |  | Lock ActiveX server object.
`end;`

## Inheritance

`IClassFactory` |  | Class defined for ActiveX compatibility.
`IUnknown` |  | Basic interface for all COM-based interfaces

## Description

IClassFactory is defined for Delphi/Kylix compatibility and should not be used.

Documentation generated on: May 14 2021