Delphi project Relative Path Problems

Source: Internet
Author: User

You have written a program, how to copy the source code to different directories on other machines, and whether the program cannot be compiled, it is likely that the path is wrong, it is much easier to use relative paths in Project Settings, and project management is easier.
On the Project-> Option-> Directories \ Conditionals page, you can specify a directory
(1) do not use absolute paths. In this way, no matter whether the program is moved or released, there will be no need to modify the path again.
(2) The Directory is based on the current project file (*. dpk (Component package), *. dpr (EXE project), and so on)
(3) "." indicates the baseline directory, such as. \ Source. It indicates the subdirectory Source under the baseline directory.
(4) ".." indicates the parent directory of the baseline directory, such as .. \ Debug. It indicates the sub-directory Debug under the parent directory of the baseline directory, that is, the brother directory of the baseline directory.
(5) "... \ 5 parent directory of the parent directory, and so on...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.