Call this member function to register this object factory with the system registry. The first version of this function is usually called by CWinApp::InitInstance when the application is launched.
The virtual version of the function registers the control class with the system registry if bRegister is TRUE. Otherwise, it unregisters the class. This version is overridable.
void UpdateRegistry( LPCTSTR lpszProgID = NULL );
virtual void UpdateRegistry( BOOL bRegister ) = 0;
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, COleObjectFactory::UpdateRegistryAll, CWinApp::InitInstance