Freigeben über


COleObjectFactory::Register

Registers this object factory with the OLE system DLLs.

virtual BOOL Register( );

Return Value

Nonzero if the factory is successfully registered; otherwise 0.

Remarks

This function is usually called by CWinApp::InitInstance when the application is launched.

Requirements

Header: afxdisp.h

See Also

Concepts

COleObjectFactory Class

COleObjectFactory Members

Hierarchy Chart

COleObjectFactory::Revoke

COleObjectFactory::RegisterAll

CWinApp::InitInstance