参考博客:https://blog.csdn.net/flowerspring/article/details/121268403
1.下载C源码以及def文件https://www.sqlite.org/download.html
2. 下载完成之后解压 sqlite-amalgamation
获取C源码,解压sqlite-dll-win32-xx
获取里面的def文件。
3.新建sqlite3的空dll项目工程,将源上述源码加入到工程,并且加入def模块
4. 增加预定义宏
SQLITE_CORE
SQLITE_EXPORTS
SQLITE_ENABLE_FTS3
SQLITE_ENABLE_FTS5
SQLITE_ENABLE_RTREE
SQLITE_ENABLE_COLUMN_METADATA
SQLITE_ENABLE_SESSION
SQLITE_ENABLE_PREUPDATE_HOOK
SQLITE_ENABLE_DESERIALIZE