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





Article #19334: How do I produce a .hpp file from a .pas file in C++Builder

 Question and Answer Database

FAQ4334C.txt   :How do I produce a .hpp file from a .pas file in C++Builder
Category   :Command Line Tools
Platform    :Win95/NT
Product    :C++Builder1.0,   C++Builder3.x,   C++Builder4.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

2/9/1999 10:28:05 AM
 

Last Modified: 01-SEP-99