Menu

#192 Open file dialogue - Improve path evaluation

open
nobody
None
5
2025-05-15
2025-05-15
j b
No

To simplify (reduce) the number of search paths in a project, I use environment variables for 3rd party code.
E.G.:
DevExpress: ‘....\3rdParty\DevExpress’
DevExpress_all: "$(DevExpress)\ExpressBars\Sources;$(DevExpress)\ExpressCommon Library\Sources;$(DevExpress)\ExpressCore Library\Sources;$(DevExpress)\ExpressDataController\Sources;$(DevExpress)\ExpressEditors Library\Sources;$(DevExpress)\ExpressExport Library\Sources;$(DevExpress)\ExpressGDI+ Library\Sources;$(DevExpress)\ExpressLayout Control\Sources;$(DevExpress)\ExpressLibrary\Sources;$(DevExpress)\ExpressOfficeCore Library\Sources;$(DevExpress)\ExpressPageControl\Sources;$(DevExpress)\ExpressQuantumTreeList\Sources;$(DevExpress)\ExpressScheduler\Sources;$(DevExpress)\ExpressSkins Library\Sources;$(DevExpress)\ExpressSpreadSheet Core\Sources;$(DevExpress)\ExpressSpreadSheet\Sources;$(DevExpress)\XP Theme Manager\Sources"

I then enter these variable(s) in the search paths. Now there are several paths per line, separated by semicolons. The Delphi compiler and code completion can cope with this. GExperts does not. The open file dialogue and the Uses clause manager cannot find any files from these folders.
Please adjust GExperts so that these paths are also found.

Discussion

  • Thomas Mueller

    Thomas Mueller - 2025-05-15
    1. where do you define these environment variables: In the IDE or in Windows?
    2. Could you please supply a screenshot of the "Search Path" dialog showing those paths?
     
  • j b

    j b - 2025-05-15
    1. environment variable in Delphi IDE
      Even if the text in the search paths is displayed in grey, it works.
     

    Last edit: j b 2025-05-15
  • Thomas Mueller

    Thomas Mueller - 2025-05-15

    Thjs might also have been fixed in revision #4590 (see bug report 420)

     

    Last edit: Thomas Mueller 2025-05-15

Log in to post a comment.

MongoDB Logo MongoDB