Home > Back-end >  Ask a question
Ask a question

Time:09-20

Delphi2010, a Delphi project, the project manager panel under a and b can see, there are two folder, inside all sorts of pas, and practical use of two other folder c and d the pas below, in the project manager panel, you can't see in the project - & gt; The options - & gt; Delphi compiler - & gt; Search path to find the other two folders below the setting of c and d,
I don't know what is the purpose of this setting? Touching the folder c and d function and definition of pas, CTRL click to see the source code, could not get debug time, feel very inconvenient,

CodePudding user response:

General components, compiled dcu files in the search path, pas files can not provide, provide words can also be placed in the library is not the path, and in the browsing path

Benefit is not compile pas files, direct link dcu, and can not provide the source code, badness is what you said

CodePudding user response:

This is normal, because some of the controls (units) of the file, can not in the main program directory, as long as the specified directory,
So the unit can be Shared, convenient programming, reduce duplication of writing code,

CodePudding user response:

Can jump when the debug positioning, will need to use the program unit files are added to the project file, namely in the DPR file management all need pas files, open the main program, use Project> Add to the Project... Choose c and d pas file folder all used to add, save the DPR file, unit files in what position is not important (preferably in a project folder), is important in the DPR for management,

CodePudding user response:

The c and d folder is added to the Library path (tools - & gt; The Environment inside the options) can view the source code,
  • Related