BOOL AFXAPI AfxOleInit( );
#include <afxdisp.h>
Return Value
Nonzero if successful; 0 if initialization fails, possibly because incorrect versions of the OLE system DLLs are installed.
Remarks
Initializes the OLE DLLs.