发新话题
打印

DBExpress for sqlite

DBExpress for sqlite

如何用DBExpress连接sqlite,按照网上说的,下载安装sqlite dbexpress driver后。
竟然连接不成功。到底怎么安装sqlite dbexpress driver呢,按其说明,改写dbxdrivers.ini后,还是不行。
请问:为什么这个控件的说明只让改写dbxdrivers.ini,而却没有改写dbxconnections.ini文件的说明呢。到底是怎么改写dbxconnections.ini,才能安装成功啊。急!

Installation of DbxSQLite.dll
----------------------------------------------------

1 Locate the dbxdrivers.ini on your computer.
2 Add the following lines to it:

  [Installed Drivers]
  SQLite=1

  [SQLite]
  LibraryName=C:\....\DbxSQLite.dll
  GetDriverFunc=getSQLDriverSQLite
  VendorLib=C:\....\sqlite.dll
  RoleName=Cache=2000|TextLength=1024

3 Fire up Delphi
4 Add a TSqlConnection component
5 Set the DriverName to "SQLite"
6 Open the component editor ("Edit connection
  properties")
7 Create a new connection and set the Database to a
  file (If you don't have a file it will be created
  upon connecting)
8 Create some ClientDataSet structure
  enter your SQL and build your applications

For support mail me at: sqlite@wobben.com
or use the sqlite@yahoogroups.com maillist.

----------------------------------------------------
  Notes
----------------------------------------------------

When having trouble always use the SQLMonitor to see
what is happening within the DbxSQLite driver.

Since SQLite is typeless and everything is stored
as text the following DataTypes are parsed and
supported:
- CHAR, VARCHAR, TEXT, GUID, BIT
  Special characters are encoded using &xx; values.
  Where the xx is the hexadecimal representation.
- DATE, TIME, DATETIME, TIMESTAMP
  Encodings are following the rules yyyymmdd for
  date and hhnnsszzz for time.
- NUMERIC, DECIMAL, DOUBLE
- BLOB, BYTES, VARBYTES
  Binary to hex notation and back is performed.
- BOOLEAN, BOOL
  Stored as 0 or 1.
- INTEGER, SMALLINT
  Smallint is 16bit integer and Integer is a 32bit
  integer.

Large text fields are not converted to blobs; this
is typical BDE behaviour to convert text datatypes
larger than 255 characters as memo blobs. You may
override this behaviour to be identical to the BDE
by setting BdeBlobText=True.

TOP

此控件下载地址如下,那位指点一下小弟,谢谢。、
http://codecentral.borland.com/Item/18385

TOP

做什么用的?

TOP

为啥要用SQLite???

TinyDB不行么?
超级简单易用的音视频转换控件 2008.09.28 最新版本 2.2 推出,更强大 FFmpeg for Delphi http://www.CCAVC.com
MSN: CodeCoolie#live.com QQ: 25758206 (请填写相关验证信息, 谢谢)
成功上传头像的秘籍

TOP

sqlite功能比较弱,如果不是做嵌入式,无需选择sqlite。
其实delphi和firebird结合挺好的嘛。firebird有sqlite的优点,它可以只要一个驱动就能当文件型数据库用,而且也可以作为服务,向mysql那样作为多用户的数据库运行。

TOP

做单机应用,sqlite的DLL文件小,编于部署,谢谢。

TOP

TinyDB不用DLL,直接编译,不涉及部署
超级简单易用的音视频转换控件 2008.09.28 最新版本 2.2 推出,更强大 FFmpeg for Delphi http://www.CCAVC.com
MSN: CodeCoolie#live.com QQ: 25758206 (请填写相关验证信息, 谢谢)
成功上传头像的秘籍

TOP

tinydb好些年没人维护了吧
宁可错爱三千,不可放过一个
http://missdeer.blogspot.com/

TOP

嗯,不过对一般小应用来说,够用了。。。
超级简单易用的音视频转换控件 2008.09.28 最新版本 2.2 推出,更强大 FFmpeg for Delphi http://www.CCAVC.com
MSN: CodeCoolie#live.com QQ: 25758206 (请填写相关验证信息, 谢谢)
成功上传头像的秘籍

TOP

发新话题