ZT: Delphi7 directory structure ---- Beginner Reference (Huojiehai)

zhaozj2021-02-12  200

Open the Delphi installation directory, such as C: / Program Files / Borland / Delphi7, you will see some files and folders in the directory: 2 Source: Store all source code provided by Delpi, including VCL, WebSnap, intRaweb For the source code such as Toolsapi, we usually look for the source code of Delphi to find it. There are also some source of Delphi's tools, which are also placed under this, such as the source code of Borland Socket Server (SCKTSRVR.exe), the Web Server (httpsrvr.dpr) for Intraweb (httpsrvr.dpr), etc. Every time you have time to see these source code. For improving yourself, you have a big benefit, such as yourself to make a web server that supports CGI and supports Session. At this time, you can study the httpsrvr.dpr.DPR project, you can use it slightly. Multi-study Delphi's own source code is only good and there is no harm. Maybe you can't use it when you study, but after a period of time, you have to do related projects. At this time, there is a number in your heart. 2 Rave5: Delphi7 The latest report tool. In this directory, all support files are stored, such as Rave.exe, which is a tool for designing the RAVE report format. You can modify the report format template by it. Demo is stored in an example of reporting with RAVE5. Do a report, you must see this example. 2 Projects: Store your own project, this is Delphi's catalog for us to facilitate management, but we often store this, our own project is best to store it in your own specific specified directory, which is more beneficial to manage yourself Code. Because many people are used to put Delphi in the system default directory, and this disk is often a system disk. If you put your project in this directory, it will be easily infringed or in the Royal Delphi. The heart is deleted. This directory is Delphi designed for us, we can use it. 2 OCX: These directories are used to store newly generated Delphi call code when installing a new OCX control. The code in the servers directory in this directory is the code for storing the installation of the Office system interface. 2 Objrepos: This directory is stored in Delpphi template, including template windows and template projects. For example, click File-> New-> Other ..., switch to the Forms page, select About Box, then click "OK". It will see an About Form that automatically generates an ABOUT. And the source code of this About Form template is stored in this directory, we can find About.Pas and About.dfm in this directory, you can open the editor with Delphi to modify it, this time you generate about form from this template again. It is what you want. There are other template windows of the Forms page, as well as the Dialogs page, the template code such as the Business page is exported to this directory. There is also a template project in this directory. Win2kApp, SDIAPP, and MDIAPP directory. These template windows or these template works can be invited to templates they want themselves. If you think these templates are not enough, you can add it. Add Method:? Template Project: Open the project to be a template, click Project-> Add to reposipory. Template window: Click Right click in the window to be a template, select Add to Reposipory ....

转载请注明原文地址:https://www.9cbs.com/read-7094.html

New Post(0)