About Sample Code and Applications

For the sample applications shipped with Oracle Objects for OLE and most of the sample code in this file, the following rules apply:

· The user "scott" with password "tiger" ("scott/tiger") are used to connect to the database.

· The network alias "ExampleDb" is used as the database name. Those examples that do not use the ExampleDB database reference other databases, for one illustrative purpose or another.

· The data tables referenced are the standard Oracle demonstration tables that can be created by the script DEMOBLD7.SQL. (These tables and views can be dropped by the script DEMODRP7.SQL.

· The stored procedures referenced can be created by the script ORAEXAMP.SQL.

Note: To run the sample code, you need to set up MS VC++ to point to the Oracle Object for OLE header files and libraries. For Microsoft Developer Studio 5.0, use the Options item in the Tools menu of to set up the directories to point to the Oracle Object for OLE files that you need, such as:

· oraclm.dll in ORACLE_HOME\CPP\BIN

· oraclm.lib and oraclm32.lib in ORACLE_HOME\CPP\LIB

· obound.h and oracl.h in ORACLE_HOME\CPP\INCLUDE

The sample applications for Oracle Objects for OLE C++ Library are installed in the ORACLE_HOME\OO4O\CPP directory.