This method registers this object factory with the system registry. The first implementation of this method is usually called by CWinApp::InitInstance when the application is launched.
The virtual implementation of the method registers the control class with the system registry if bRegister is TRUE. Otherwise, it unregisters the class. This implementation is overridable.
Header file: | Afxdisp.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
void UpdateRegistry( LPCTSTR lpszProgID = NULL );
virtual void UpdateRegistry( BOOL bRegister ) = 0;
COleObjectFactory::Register, COleObjectFactory::UpdateRegistryAll, CWinApp::InitInstance