Oracle Call Interface Getting Started for Windows Platforms
Release 8.0

A54626_01

Library

Product

Contents

Index

Prev Next

2
Building Applications

This chapter includes information on how you build Oracle database applications using OCI. It covers the following topics:

Building OCI applications for Windows NT/95

Building OCI applications for Windows NT/95 involves these four steps:

  1. Writing an OCI application.
  2. Compiling an OCI application against OCI header files.
  3. Linking an OCI application with the OCI library.
  4. Running an OCI application.
  5. Writing an OCI Application
    Additional Information:

    For information on writing applications that use the Oracle Call Interface, refer to Programmer's Guide to the Oracle Call Interface.  

Compiling an OCI Application

When you compile and OCI for Windows NT/95 application, you must include the appropriate OCI header files, which are located in ORACLE_HOME\OCI80\INCLUDE.

Additional Information:

For specific information about compiling your application and/or special compiler options, refer to your compiler's documentation.  

Linking an OCI Application

The OCI calls are implemented in dynamic link libraries (DLLs) that Oracle provides. To use the Oracle dynamic link libraries to make OCI calls, you must link with the OCI import library, OCIW32.LIB, which is found in ORLAND. No special link options are required.

Running an OCI Application

To run an OCI application, ensure that OCIW32.DLL and an Oracle client DLL (ORA803.DLL for the 8.0.3 release) is installed on the workstation that is running your OCI application.




Prev

Next
Oracle
Copyright © 1997 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index