Connect to SQLite using ODBC without register database
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to connect to SQLite in C++ and using ODBC API without register the database in ODBC? I have code that uses ODBC talking to databases and don't want to rewrite for using SQLite and don’t want to register new ODBC connections. 回答1: you should be able to do it without any code changes using sqliteodbc . 回答2: Short answer, use one of the following connection strings: Driver=SQLite ODBC Driver;Database=full-path-to-db;... Driver=SQLite3 ODBC Driver;Database=full-path-to-db;... Long answer: The readme file included with the