Visual PRO C/C
Visual PRO C/C
PMC
References
G Integrating Pro*C/C++ into Microsoft Visual Studio .NET
Adding .pc Files to a Project
After you create a project, you need to add the files.
To add a file to a project:
Select Add To Project from the Project menu and then select Files. The Insert Files into Project dialog appears.
Description of the illustration ms2.gifSelect All Files from the Files list.
Select the file.
Click OK.
Adding References to .c Files to a Project
For each file, you need to add a reference to the file that will result from precompiling.
To add a reference to a file to a project:
Select Add To Project from the Project menu, and then select Files. The Insert Files into Project dialog appears.
Type the name of the file in the File Name box.
Click OK. Because the file has not been created yet, Microsoft Visual Studio .NET displays the following message: "The specified file does not exist. Do you want to add a reference to the project anyway?"
Click Yes.
Adding the Pro*C/C++ Library to a Project
Pro*C/C++ applications must link with the library file .
To add the Pro*C/C++ library to a project:
Select Add To Project from the Project menu, and then select Files. The Insert Files into Project dialog appears.
Select All Files from the Files list.
Select orasql12.lib from the directory.
Click OK.
Specifying Custom Build Options
Description of the illustration ms3.gif
To specify Custom Build options:
In FileView, right-click a file and select Settings. The Project Settings dialog appears with the Custom Build tab displayed.
In the Build commands box, on one line, set the build to use the same hardcoded path as that of the setting.
In the Output files box, enter one of the following:
If you are generating files, then enter .
If you are generating files, then enter .
and are macros for custom build commands in Microsoft Visual Studio .NET. When the project is built, Microsoft Visual Studio .NET checks the date of the output files to determine whether they need to be rebuilt for any new modifications made to the source code.
Click OK.
See Also:
Microsoft Visual Studio .NET documentation
Adding Pro*C/C++ to the Tools Menu
Description of the illustration ms1.gif
You can include Pro*C/C++ as a choice in the Tools menu of Microsoft Visual Studio .NET.
To add Pro*C/C++ to the Tools menu:
From within Microsoft Visual Studio .NET, select Customize from the Tools menu. The Customize dialog appears.
Click the Tools tab.
Scroll to the bottom of the Menu contents box and click the dotted rectangle.
Enter the following text:
In the Command box, type the path and filename of the graphical Pro*C/C++ executable, or use the Browse button to the right of the box to select the file name. For example:
In the Arguments box, enter the following text:
When you select Pro*C/C++ from the Tools menu, Microsoft Visual Studio .NET uses the 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 as the opened project, but with a extension in the project directory.
In the Initial directory box, enter the following text:
The Customize dialog should now look like the following graphic (although the Oracle home directory may be different on your computer).
Click Close. Microsoft Visual Studio .NET adds Pro*C/C++ to the Tools menu.
Sai Kishore is a programmer with six years of experience teaching programming. He currently works at the Knowledge Solutions Business of NIIT as a consultant and develops e-learning applications for various platforms. Previously, he was a technical trainer who conducted training on C, C++, Unix systems programming, Powerbuilder, DB-Library, Pro C (Oracle), Windows programming using C, Visual C++, and Visual Basic.
What’s New in the Visual PRO C/C?
Screen Shot
System Requirements for Visual PRO C/C
- First, download the Visual PRO C/C
-
You can download its setup from given links: