Pro*C/C++ Precompiler Getting Started
Release 8.0.6 for Windows NT and Windows 95/98

A69520-01

Library

Product

Index

Next

Contents

Title and Copyright Information

Contact Us!

How to Contact Oracle Technical Publications
How to Contact Oracle Support Services
Resources for Oracle Partners and Developers

Preface

Prerequisites
Intended Audience
How This Guide Is Organized
Conventions
Documentation Library
Related Documents

1 Introducing Pro*C/C++

What is Pro*C/C++?
PL/SQL Support
Features

2 Using Pro*C/C++

Oracle Directory Structure
Using the Graphical User Interface
Title Bar
Menu Bar
Toolbar
Information Pane
Status Bar
Creating and Precompiling a Pro*C/C++ Project
Step 1: Open a Project
Step 2: Set the Default Output File Name (Optional)
Step 3: Add Files to the Project
Step 4: Delete Files from the Project (Optional)
Step 5: Set the Precompile Options (Optional)
Step 6: Specify Database Connection Information (Optional)
Step 7: Precompile
Step 8: Check the Results
Step 9: Fix Any Errors
Using Pro*C/C++ at the Command Line
Header Files
ORACA.H
SQL2OCI.H
SQLAPR.H
SQLCA.H
SQLCPR.H
SQLDA.H
SQLKPR.H
SQLPROTO.H
If You Receive a PCC-S-02014 Error...
Using the Precompiler Options
CODE
DBMS
INCLUDE
PARSE
VER
PROC_DFLT

3 Building Pro*C/C++ Applications

Building and Running Sample Programs
.DSP and .IDE Files
Sample Pro*C/C++ Programs
COLDEMO1.PC
CPPDEMO1.PC
CPPDEMO2.PC
CPPDEMO3.PC
CV_DEMO.PC
LOBDEMO1.PC
MLTTHRD1.PC
NAVDEMO1.PC
OBJDEMO1.PC
ORACA.PC
PLSSAM.PC
SAMPLE.PC
SAMPLE1.PC
SAMPLE2.PC
SAMPLE3.PC
SAMPLE4.PC
SAMPLE5.PC
SAMPLE6.PC
SAMPLE7.PC
SAMPLE8.PC
SAMPLE9.PC
SAMPLE10.PC
SAMPLE11.PC
SAMPLE12.PC
SQLVCP.PC
WINSAM.PC
Creating a Sample Program
Running a Sample Program
Building the Demonstration Tables
Dynamic Link Libraries (DLLs)
Building Multi-Threaded Applications

A Integrating Pro*C/C++ into Microsoft Visual C++

Integrating Pro*C/C++ within Microsoft Visual C++ Projects
Specifying the Location of the Pro*C/C++ Executable
Specifying the Location of the Pro*C/C++ Header Files
Adding .PC Files to a Project
Adding References to .C Files to a Project
Adding the Pro*C/C++ Library to a Project
Specifying Custom Build Options
Adding Pro*C/C++ to the Tools Menu

B Integrating Pro*C/C++ into Borland C++

Adding Pro*C/C++ to the Tool Menu

Index


Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Index