Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Initializing and Uninitializing the Library

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.