COleObjectFactory::COleObjectFactory

Call this member function to construct a COleObjectFactory object, initialize it as an unregistered object factory, and add it to the list of factories. You must register it before you can use it.

Syntax

COleObjectFactory( REFCLSID clsid, CRuntimeClass* pRuntimeClass, BOOL bMultiInstance, LPCTSTR lpszProgID );

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleObjectFactory Overview, COleObjectFactory Member Functions, Application Architecture Classes, COleObjectFactory::Register, CRuntimeClass