Before an application can use OLE system services, it must initialize the OLE system DLLs and verify that the DLLs are the correct version. The AfxOleInit function initializes the OLE system DLLs.
OLE Initialization
AfxOleInit | Initializes the OLE libraries. |