COleObjectFactory::RevokeAll
Revokes all of the application's object factories' registrations with the OLE system DLLs.
static void PASCAL RevokeAll( );
Remarks
The framework calls this function automatically before the application terminates. If necessary, call it from an override of CWinApp::ExitInstance.
Requirements
Header: afxdisp.h