简体   繁体   中英

Visual c++ How to sqlite3 without sqlite3.dll use

How to sqlite3 dll without use? I'm imported sqlite3.h and sqlite3.lib, and error sqlite3.dll not found. Need run without sqlite3.dll.

This is not how it works. If the .lib is compiled to be dynamically linked then it just exports the list of symbols available inside the dll but the code still resides inside the dll.

If you want to avoid using dll, you need a static version of the library, I don't know if it's already provided by sqlite, otherwise you need to compile it yourself, this could help you.

As far as I know sqlite3 is a single source file. Just add it to your build and you should be golden.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM