Vote UpVote

Delphi – backwards compatibility: using {%File to add non-Delphi files to your project in the .dpr

The Wiert Corner – When you add a non-Delphi file to your project, the current (Galileo based) IDE’s add them only to your .dproj file. But older Delphi’s used to add them to the .dpr file using the (undocumented) {%File pseudo-directive. When including the file ..\src\Defines.inc, you need this pseudo-directive: {%File ‘..\src\Defines.inc’} The .dpr import wizard knows about it: if you have a lonely .dpr file using the {%File pseudo-directive, it will be correctly reflected in the .dproj file. In order to maintain compatibility with old Delphi versions, or if you do not want to ship ...
Favorite? Off-Topic? jpluimers @ 2009-07-27 13:51


Visits: 493
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Cobus Kruger
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)