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.
COleObjectFactory( REFCLSID clsid, CRuntimeClass* pRuntimeClass, BOOL bMultiInstance, LPCTSTR lpszProgID );
Header file: | Afxdisp.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
COleObjectFactory Overview, COleObjectFactory Member Functions, Application Architecture Classes, COleObjectFactory::Register, CRuntimeClass