void UpdateRegistry( LPCTSTR lpszProgID = NULL );
virtual void UpdateRegistry( BOOL bRegister ) = 0;
Parameters
lpszProgID
Pointer to a string containing the human-readable program identifier, such as “Excel.Document.5.”
bRegister
Determines whether the control class’s object factory is to be registered.
Remarks
Brief discussions of the two forms for this function follow:
If you use MFC ActiveX ControlWizard to create your project, ControlWizard supplies an override to this pure virtual function.
COleObjectFactory Overview | Class Members | Hierarchy Chart
See Also COleObjectFactory::Revoke, COleObjectFactory::Register, COleObjectFactory::UpdateRegistryAll, CWinApp::InitInstance