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

by Feb 2, 1999

 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
 

Article originally contributed by