void AFXAPI AfxOleUnlockApp( );
#include <afxdisp.h>
Remarks
Decrements the framework’s count of active objects in the application. See AfxOleLockApp for further information.
When the number of active objects reaches zero, AfxOleOnReleaseAllObjects is called.
See Also AfxOleLockApp, CCmdTarget::OnFinalRelease