Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-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.
Use the OStartup routine to initialize the class library and OShutdown to uninitialize it. You must call these routines for every process. They initialize per-process state in the class library DLL.
OLE users: These routines call OleInitialize and OleUninitialize. If OLE is already running when OStartup is called, OShutdown does not call OleUninitialize.