Delphi 2010 and Dbexpress deploy

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 17:43:37

问题


How on Earth to deploy a Delphi 2009 /2010 app that connects to a remote mysql using dbexpress? What files to include? Thanks


回答1:


You need dbexpress driver for MySQL (dbxmys.dll), and MySQL client library which is a single DLL (libmySQL.dll).

In Delphi 2009, there is a bug (I'm not sure if it is fixed by any update), which makes you deploy dbxdrivers.ini and dbxconnections.ini files with your application too; otherwise you will get a runtime error on the target machine. There are a few workarounds for it like creating an in-memory connection manager in your code, which was mentioned in Marco Cantu's Delphi 2009 Handbook.



来源:https://stackoverflow.com/questions/5203678/delphi-2010-and-dbexpress-deploy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!