Create a new instance of an interface.
Source position: types.pp line 496
| function IClassFactory.CreateInstance( | 
| const unkOuter: IUnknown; | 
| const riid: TGuid; | 
| out vObject | 
| ):HRESULT; | 
IClassFactory.CreateInstance is defined for Delphi/Kylix compatibility and should not be used.