|Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)
Part Number B10119-01
You must initialize the C++ Class Library before use and uninitialize it when you are finished with it. Normally the initialization is done at the beginning of your program and the uninitialization is done at the end.
OLE users: These routines call OleInitialize and OleUninitialize. If OLE is already running when OStartup is called, OShutdown does not call OleUninitialize.