3. System operation and Maintenance
An application system performance, the level of efficiency should always be the user to make judgments, applications in the running process, users will put forward a number of new requirements and suggestions, according to the user needs changes, the application should make certain changes, so that it further improve and improve.
13.4.3 Delivery Database application
Delivering a database application means delivering it to the end user and providing the software needed to run the application, which often requires only one EXE file, and the database application includes the following types of files:
Database application-generated EXE files and DLL files (if any)
necessary auxiliary files (such as readme file or HLP online Help file)
BDE that support access to the database, sometimes called Idapi
Reportsmith report Tools for printing output reports
If the VBX control is used in the application, also include VBX and BIVBXII.DLL
13.3.4 installation BDE
When you deliver a database application, you must also install the Bde,delphi itself containing the installable BDE on the machine where the application is running, while preparing the database application installation disk while copying a copy of BDE from Delphi to the end user's machine. In order to conserve disk space, the BDE contains drivers that access multiple database systems, and when installing BDE, you can install only the necessary drivers for the application, for example, if our application only needs to access the dBASE database files, then the dBASE driver is all you need to install BDE. To access the Paradox database, BDE requires at least 500KB of disk space. BDE mainly include the following documents, please refer to DEPLOY.TXT documents.
Table 13.5 BDE mainly included in the document
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
File name Description
──────────────────────────────────
IDAPI01. DLL BDE Application Interface Dynamic Connection Library
IDBAT01. DLL BDE Batch application Dynamic Connection Library
IDQRY01. DLL BDE query Dynamic Connection Library
IDASCI01. DLL BDE ASCII code driver
IDPDX01. DLL BDE Paradox Database driver
IDDBAS01. DLL BDE dbase Database driver
IDR10009. DLL BDE Resource Library
ILD01. DLL Language Driver
IDODBC01. ODBC Driver for DLL BDE
Odbc. NEW Microsoft ODBC Driver Manager (Version2.0)
Odbcinst. NEW Microsoft ODBC Driver Installer (Version2.0)
Tutility. DLL BDE Utility Library
Bdecfg. EXE BDE Configuration Tool
Bdecfg. HLP BDE Configuration Tool Help file
Idapi. CFG BDE (IDAPI) configuration file
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Install BDE can use the same method as the installation Delphi, in the Windows environment running Delphi installation program Setup.EXE, at this time, Delphi Display Delphi Installation dialog box
We only have to install BDE, so just select the Borland Database Engine check box, and if the application is to process data on the SQL database server, you must also select the SQL links check box to install SQL links. Click the Continue button to complete the BDE installation.
Without the Delphi installation disk, we can also manually install BDE, copy all files from the BDE directory (or Idapi directory) on the existing machine to the BDE directory on the user's machine, and add the following statement at the end of the user's Win.ini file:
[Idapi]
Dllpath=c:/delphi/idapi
Configfile01=c:\delphi\idapi. Cfg
Then start the icon for the IDAPICFG.EXE in Windows Program Manager.
Installation of language drivers
BDE can provide different language support for the application, the language driver can be in the configuration Paradox,dbase database fashion, for the database on the server can be described in the Idapi.cfg file the appropriate language driver, language driver in C:\DELPHI\IDAPI \langdrv (the drive name is related to the disk installed by Delphi), with the extension. LD's file. If the language driver is installed correctly, include the following in the Windows Win.ini file (by default):
[Borland Language Drivers]
Ldpath=c:/delphi\idapi\langdrv