Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++

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

Author: Embarcadero USA

 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

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

2 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES