SQLite and Delphi XE4 (i)

Source: Internet
Author: User

After so long, because the work needs to be some picture sequence file analysis, and then the results are grouped statistics, and the group statistics with SQL syntax is easy to implement, but requires the program to run the environment installed a large database system, after searching the internet, and finally found SQLite.

SQLite is an open source (hehe, for us is free), embedded relational database, eliminating the cost of dedicated to the relational database management system, it does not run independently of the process, it and the service of the application in the application process space coexistence. Such a database is exactly what I need.

Finally picked up the Delphi, installed is lsuper. delphi.xe4.rtm.inc.update1.v18.0.4905.60485.lite.v7.1 version, small installation fast, recommended to use Ah, lsuper really very powerful ah, the package of Delphi really good.

installation of DISQLite3

1, DISQLite3 components, of course, the version of the charge, we can Baidu to find crack version yo, I installed here is DISQLite3 5.0.0 exe installation version, I installed in the C:\Delphi3Th\DISQLite3 in the _5.0.0 directory, the directory structure is as follows:

2, next add the source directory and the DX4 directory to the DelphiXE4 tools->options...->library path , the DISqlite3-based program is required at compile time, As shown in the following:

3. Open the disqlite3_dxe4.dproj file in the source directory in the DISQLite3 installation directory in the Delphi XE4 IDE, as shown in:

4. After opening the. dproj file, in Project Manager , click on disqlite3_dxe4.bpl and right-click Install, this component is already installed.

5, hehe, special reminder, if you use the Crack version of the words, remember to replace the files in the Crack file in the corresponding subdirectory of the installation directory yo, otherwise your application will continue to prompt you to use the trial version of the components, it is recommended that you buy.

6. Below you can create a VCL Forms application, and then select Tdisqlite3database in yunqa in the Tool Palette Palette the component is put into Form1, and then the compilation runs, and if everything works, the component installation is successful. Otherwise, please start over and see which step you forgot to do.

(To be Continued ...) )

Related Article

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.