Here is the way to Integrate SQLite Database with Visual C++ or Visual studio for win32 console application. I hope you find this helpful!!!!
- Create a new C++ Win32 Console application.
- Download the native SQLite DLL from:http://www.sqlite.org/2014/sqlite-dll-win32-x86-3080704.zip.
- Unzip the DLL and DEF files.
- Place .DEF file into project’s source folder.
- Open a “Visual Studio Command Prompt (2010)” and change directory to your project source folder.
- Create an import library using the following command line: LIB /DEF:sqlite3.def
- Add the library i.e. sqlite3.lib to your working project.
- Goto Project Properties -> Configuration Properties -> Linker -> Additional Dependencies.
- Download source and header files from http://www.sqlite.org/snapshot/sqlite-amalgamation-2014121600020.zip
- Unzip the sqlite3.h header file and place into your source directory.
- Include the the sqlite3.h header file in your source code.
Hi!
ReplyDeleteHow are you?
I've developed a really useful piece of software, this is Deleaker, a leak detection tool for VC++ developers.
People who use Deleaker like it, but my problem is that very few developers know about Deleaker.
I would like to offer you a license for free, and for that you could write me a small review on your blog. What do you think about that?
Please write me your opinion to Artem.Razin (at) gmail (dot) com!
Thank you in advance!