Pro*C/C++ Precompiler Getting Started 
Release 8.0.5 for Windows NT and Windows 95/98 
A64423-01
 
Library
 
Product
 
Contents
 
Index
 

Prev Next

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

This appendix describes how to integrate Pro*C/C++ into the Borland C++ version 5.0 integrated development environment.

The specific topic discussed is:

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

You can include Pro*C/C++ as a choice in the Tool menu of Borland C++ version 5.0.

To add Pro*C/C++ to the Tool menu:

  1. From within Borland C++, open a project file.
  1. Choose Tools from the Options menu.
  2. The Tools dialog box appears.

  1. Click New.
  2. The Tool Options dialog box appears.

  1. In the Name box, enter the following text:
  2. Pro*C/C++ 8.0

  3. In the Path box, enter the following text:
  4. PROCUI80.EXE

    If the PATH environment variable does not include your ORACLE_HOME\BIN directory, enter the path before the file name. For example:

    C:\ORANT\BIN\PROCUI80.EXE

  5. In the Command Line box, enter the following text:
  6. $PRJNAME

    When you choose Pro*C/C++ 8.0 from the Tool menu, Borland C++ uses the $PRJNAME argument to pass the name of the current development project to Pro*C/C++. Pro*C/C++ then opens a precompile project with the same name but with a .PRE extension in the project directory.

  7. In the Menu Text box, enter the following text:
  8. &Pro*C/C++ 8.0

    The ampersand causes Borland C++ to assign a shortcut key to the letter P.

  9. In the Help Hint box, enter the following text:
  10. Precompile

    This text appears when you highlight Pro*C/C++ 8.0 on the Tool menu.

  11. Click OK in the Tool Options dialog box.
  12. Click Close in the Tools dialog box.
  13. Borland C++ adds Pro*C/C++ to the Tool menu.

  14. Save the project file.



 
Prev
 
Next
 
Oracle 
Copyright © 1998 Oracle Corporation. 
All Rights Reserved. 
 
Library
 
Product
 
Contents
 
Index