Vote UpVote

Delphi include files and the search strategy are different for the compiler and IDE

The Wiert Corner – Recently I bumped into a thing that I’d long forgotten: the Delphi compiler treats searching for include files (any files used with the {$I} or {$include} directive differently: The compiler first searches the directory where the file that is including resides and then uses the project and IDE search paths. The IDE only uses the project and IDE search paths. This means that when you press Ctrl-Enter on the filename to be included you might edit a different file than the compiler will include. So when a product has multiple include files with the same name in different sub-directories, ...
Favorite? Off-Topic? jpluimers @ 2016-07-12 13:00


Visits: 1149
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Ph. B.
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)