编译sqlite3 wxSQLite3 1.83 VC2005

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
morya
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Dec 14, 2007 2:29 am
Location: Xuzhou, China

编译sqlite3 wxSQLite3 1.83 VC2005

Post by morya » Wed Apr 16, 2008 6:50 am

我是直接下载了sqlite wxsqlite3的源代码
然后用vc2005构建了工程文件,添加源代码、编译。
我使用的是static编译
下面是我的sqlite3 和 wxsqlite3 vc2005 工程打包文件。
我的WXWIN指向 C:\wxWidgets-2.8.7
将两个工程解压缩出来,先编译sqlite,生成lib后,再编译wxsqlite3
因为wxsqlite3引用了sqlite3的lib文件。
wxsqlite3有多个 工程设定 debug/release/unicode debug/unicode release


http://forums.wxwidgets.org/attachments/sqlite3_416.rar
http://forums.wxwidgets.org/attachments ... e3_721.rar

Loaden
I live to help wx-kind
I live to help wx-kind
Posts: 177
Joined: Tue Feb 19, 2008 10:21 am
Location: China

Post by Loaden » Thu Apr 17, 2008 5:17 am

wxSQLite对SQLite的封装很浅,用起来不太顺手。
网上资料也很少...
Life is not fair, get used to it.

morya
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Dec 14, 2007 2:29 am
Location: Xuzhou, China

Post by morya » Thu Apr 17, 2008 2:25 pm

封装深浅的好坏,我暂时还没那种能力来评论
不过,我把我做好的东西放上来,希望可以帮助到别人。
呵呵

arust
Knows some wx things
Knows some wx things
Posts: 34
Joined: Tue Jan 15, 2008 5:13 am
Location: Beijing, China

Post by arust » Fri Mar 27, 2009 9:53 am

Loaden wrote:wxSQLite对SQLite的封装很浅,用起来不太顺手。
网上资料也很少...
wxSQLite3 对 SQLite3 封装的很好,而且与 Unicode builds of wxWidgets 结合可以很好的解决 C 字符串与 wxString 之间转换时出现的乱码问题,同时还支持数据库加密。另外它所强调的一个特点就是:并不是将数据库隐匿得无影无踪,反而令最新版 SQLite3 几乎所有的特性暴露于光天化日之下,无所遁形 :D

封装很浅正是它的优点啊 :P
wxSQLite3 does not try to hide the underlying database, in contrary
almost all special features of the current SQLite3 version 3.6.11 are
supported, like for example the creation of user defined scalar or
aggregate functions.

Post Reply