RAD Studio 10.4.1 is now available! Learn more. 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


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

Related posts
News

Using C++17 Algorithms Library Parallel Sorting with C++Builder 10.4 Sydney for Win32 and Win64

C++News

C++Builder and Platforms Support

C++

What's New in the GetIt Package Manager - June 2020

C++

RAD Studio 10.4 Now Available, Learn More

Leave a Reply

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

IN THE ARTICLES