unidac连接sqlite3 cannot load client library: sqlite3.dll的错误提示

好久没用unidac连接sqlite3了,前两天给朋友做个定时关机程序,任务计划用到了数据库,就用了sqlite3,开发环境应为有sqlite3.dll,我也忘了,给他发过去没带sqlite3.dll,结果出现cannot load client library: sqlite3.dll的错误提示。

突然想起来以前好像unidac可以不带sqlite3.dll

方法是在uniconnetion里的options选项卡下将direct设置为true,重新编译,在没有sqlite3.dll的电脑上也可以正常运行

uniconnection1.SpecificOptions.Values['Direct'] := 'True';
发布了58 篇原创文章 · 获赞 10 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/xyzhan/article/details/95993946