FAQ (installation, uninstalling, upgrade BCB version) for VCL controls

xiaoxiao2021-03-14  184

Control installation (* .bpl)

1. Select BCB Menu File → Close All (turn off all files) Select BCB menu: Project → Options → Packages → Add, select * .bpl file, then press "Open"

2.BCB menu: Project → Options → Directories / Conditionals1InClude Path "..." button, add the "..." button on the right side of the folder 2Library Path containing the * .h file, add a folder containing the * .lib file.

3. Add path 1 If it is Windows NT / 2000/2003 / XP need: My Computer -> Properties -> Advanced -> Environment Variables -> System Variable: Select "Variable" in the list "Value" Press : "Edit" button, add folder containing * .bpl file 2 If you are Windows 9x need to add PATH = back to the C: /autoexec.bat file, add the folder containing * .bpl files 3 Whether it is 1 or 2, The interval between the folders is separated by a semicolon. This modification needs to restart your computer.

Two 2. It is very important to directly affect the compilation of the programs of the control, which is used to ensure that the program is running with the dynamic library-compiled program to find a dynamic library, compile with a static library. It is recommended that you have 1-3 when you install the control.

Control installation (source program)

1. Source programs containing * .bpk 1 Open * .bpk file (* .bpk is the control engineering file) 2 Select Compile, then select Install (installation)

2. Source programs for * .bpk: 1 New project File → New → Other → Package, then add * .cpp, * .pas, * .rc and other files to join the project 2 Compile (Compile), installation (installe) Be

Note: To ensure normal use of the control, you should follow the above * .bpl control file installation 2. and 3. Put the path correctly to the appropriate position.

Control uninstallation

That is to cancel all steps: 1. Select BCB Menu File → Close All (Close All Files) Select BCB Menu: Project → Options → Packages In the Design Packages list Select the control you want to delete Press REMOVE button to delete the control

2. If all files in the folder of the deleted control, you can delete this folder from the BCB search path: BCB menu: Project → Options → Directories / Conditionals1include Path "..." button, delete is useless folder. Be careful not to delete the BCB's default folder: $ (BCB) / include and $ (BCB) / include / VCL. 2Library Path's "..." button, delete the unused folder, do not delete the BCB's default folder: $ (BCB) / LIB / OBJ and $ (BCB) / lib) / lib

3. If all files in the folder of the deleted control, you can delete folders from the search path of the operating system: 1 If you are Windows NT / 2000/2003 / XP Need: My Computer -> Properties -> Advanced -> Environment Variables -> System Variable: Select "Variable" in the list "Value" Press: "Edit" button, delete the unused folder; 2 If it is Windows 9x need to be in C: /autoexec.bat Path = in the file is removed after delete the folder; 3 whether 1 or 2, the interval between folders is separated by a semicolon. This modification needs to restart your computer.

4. You can delete files and folders for useless controls

Among them, if it is not done, and the control's file is not deleted, it is possible to affect the compilation of the latter program (these files sometimes mess) 3. If not, it will bring garbage to the system. If the control file is not deleted, and the path is reserved, the possibility of running the program is very small.

C Builder Upgrade Version

If the C Builder upgraded version, the file that does not find some controls when you compile your original program, this situation is caused by the different BCB version of the file name of the control of the control, processing method: 1. Close an error 2. Use Notepad to open a wrong project file * .bprise, delete problems filenames, save through this method to process usually, if this processing is invalid, you can re-establish project files. The disadvantage of re-establishing the project document is that the special configuration loss of the project file is required, and it is necessary to understand those special configurations (such as icons and version information, etc.).

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

New Post(0)