Do Good! - Share Freely, Enrich and Empower people to Transform their lives.

PreviousNext

Building SQLite3 with Visual Studio 2005

Author: Rajinder Yadav
Date: Nov 24, 2007

Revised: Dec 31,2007

Step 7
Now we need to create an empty project to build the SQLite DLL.
From Visual Studio create a new Win32 project called sqlite3.
For the location, enter "G:\dev\src"

This will cause the solution and project files to be saved under the sqlite3 source code director.

Click on the "Next" button and make sure to check the "Empty Project" options and set the "Application Type" to DLL. Once you do this click on the "Finish" button.

After the SQLite3 project had been generated, right click on the project name and select "Add -> New Items". When the Files dialog opens, make sure to select all the sqlite3 source and header files as will as the sqlite3.def file and click on OK.

Now we will need to remove the folowing source files from the SQLite3 project:

NOTE: In order to build a command line shell of Sqlite, you would need to include the file, "shell.c" in your project and also make sure the project was set to build an exe and not a dll binary.

Now we are ready to set the project settings...


PreviousNext

Copyright © 2007 Rajinder Yadav, All rights reserved