Skip to content Skip to sidebar Skip to footer

Integrating Sqlite3 With Mfc Vs2012

Im developing small size MFC VC++ app. For that i need to integrate Sqlite3 with existing MFC app. I surfed net and found some tutorials which are not working for me. So kindly le

Solution 1:

I configured my VS2012 successfully. These are the steps i have followed. 1.Download sqlite3.dll,sqlite3.h,sqlite3.exp and sqlite3.def from sqlite web. 2.create sqlite3.lib from .def file using LIB command. Navigate to vs 2012 installation /bin to find LIB file to run the command. 3.Create a new project in vs2012 workspace and copy the sqlite3.h,sqlite3.exp and sqlite.lib to your project files location. 4.create a new folder any of your drive and copy the dll,lib and exp. 5.Right click->properties of your project and add the dll folder as the additional libraries. thats it.

Your ready to program sqlite including sqlite3.h in cpp files.

Thank you.

Post a Comment for "Integrating Sqlite3 With Mfc Vs2012"