Главная страница | назад





Article #19282: Using Object Pascal with C++Builder

 Question and Answer Database

FAQ4282C.txt   :Using Object Pascal with C++Builder
Category   :Command Line Tools
Platform    :Win95/NT
Product    :C++Builder1.0,   C++Builder3.x,   

Question:
How do I produce a .hpp file from a .pas file in
C++Builder?

Answer:
The Delphi compiler incorporates this functionality in
the following switches:

-j     generate a C obj
-jp    generate a C++ obj
-jphn  generate a C++ header file

Example:

dcc32 -jphn myfile.pas

This will generate myfile.hpp


12/16/1998 8:50:39 AM
 

Last Modified: 01-SEP-99