jb,
download the sqlite-source-3_0_6.zip file from http://www.sqlite.org/download.html.
unzip it. build with the attached VC project file, you will end up with a
sqlite3.lib static library.
You can build your project with this library and sqlite3.h file. These two
files are all you need.
good luck.
wei
|
<?xml version="1.0" encoding="Windows-1252"?> <VisualStudioProject ProjectType="Visual C++" Version="7.10" Name="sqlite3" ProjectGUID="{467C5C7F-08E2-4FD4-BCD0-68AA69D39723}" Keyword="Win32Proj"> <Platforms> <Platform Name="Win32"/> </Platforms> <Configurations> <Configuration Name="Debug|Win32" OutputDirectory="lib\win\Debug" IntermediateDirectory="lib\win\Debug" ConfigurationType="4" CharacterSet="2"> <Tool Name="VCCLCompilerTool" Optimization="0" PreprocessorDefinitions="WIN32;_DEBUG;_LIB;NO_TCL" MinimalRebuild="TRUE" BasicRuntimeChecks="3" RuntimeLibrary="1" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="0"/> <Tool Name="VCCustomBuildTool"/> <Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/sqlite3.lib"/> <Tool Name="VCMIDLTool"/> <Tool Name="VCPostBuildEventTool"/> <Tool Name="VCPreBuildEventTool"/> <Tool Name="VCPreLinkEventTool"/> <Tool Name="VCResourceCompilerTool"/> <Tool Name="VCWebServiceProxyGeneratorTool"/> <Tool Name="VCXMLDataGeneratorTool"/> <Tool Name="VCManagedWrapperGeneratorTool"/> <Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration Name="Release|Win32" OutputDirectory="lib\win\Release" IntermediateDirectory="lib\win\Release" ConfigurationType="4" CharacterSet="2"> <Tool Name="VCCLCompilerTool" PreprocessorDefinitions="WIN32;NDEBUG;_LIB;NO_TCL" RuntimeLibrary="4" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="0"/> <Tool Name="VCCustomBuildTool"/> <Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/sqlite3.lib"/> <Tool Name="VCMIDLTool"/> <Tool Name="VCPostBuildEventTool"/> <Tool Name="VCPreBuildEventTool"/> <Tool Name="VCPreLinkEventTool"/> <Tool Name="VCResourceCompilerTool"/> <Tool Name="VCWebServiceProxyGeneratorTool"/> <Tool Name="VCXMLDataGeneratorTool"/> <Tool Name="VCManagedWrapperGeneratorTool"/> <Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> <References> </References> <Files> <Filter Name="Source Files" Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> <File RelativePath=".\attach.c"> </File> <File RelativePath=".\auth.c"> </File> <File RelativePath=".\btree.c"> </File> <File RelativePath=".\build.c"> </File> <File RelativePath=".\date.c"> </File> <File RelativePath=".\delete.c"> </File> <File RelativePath=".\encode.c"> </File> <File RelativePath=".\expr.c"> </File> <File RelativePath=".\func.c"> </File> <File RelativePath=".\hash.c"> </File> <File RelativePath=".\insert.c"> </File> <File RelativePath=".\legacy.c"> </File> <File RelativePath=".\main.c"> </File> <File RelativePath=".\opcodes.c"> </File> <File RelativePath=".\os_mac.c"> </File> <File RelativePath=".\os_unix.c"> </File> <File RelativePath=".\os_win.c"> </File> <File RelativePath=".\pager.c"> </File> <File RelativePath=".\parse.c"> </File> <File RelativePath=".\pragma.c"> </File> <File RelativePath=".\printf.c"> </File> <File RelativePath=".\random.c"> </File> <File RelativePath=".\select.c"> </File> <File RelativePath=".\shell.c"> </File> <File RelativePath=".\table.c"> </File> <File RelativePath=".\tclsqlite.c"> </File> <File RelativePath=".\tokenize.c"> </File> <File RelativePath=".\trigger.c"> </File> <File RelativePath=".\update.c"> </File> <File RelativePath=".\utf.c"> </File> <File RelativePath=".\util.c"> </File> <File RelativePath=".\vacuum.c"> </File> <File RelativePath=".\vdbe.c"> </File> <File RelativePath=".\vdbeapi.c"> </File> <File RelativePath=".\vdbeaux.c"> </File> <File RelativePath=".\vdbemem.c"> </File> <File RelativePath=".\where.c"> </File> </Filter> <Filter Name="Header Files" Filter="h;hpp;hxx;hm;inl;inc;xsd" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> <File RelativePath=".\btree.h"> </File> <File RelativePath=".\config.h"> </File> <File RelativePath=".\hash.h"> </File> <File RelativePath=".\opcodes.h"> </File> <File RelativePath=".\os.h"> </File> <File RelativePath=".\os_common.h"> </File> <File RelativePath=".\os_mac.h"> </File> <File RelativePath=".\os_unix.h"> </File> <File RelativePath=".\os_win.h"> </File> <File RelativePath=".\pager.h"> </File> <File RelativePath=".\parse.h"> </File> <File RelativePath=".\sqlite3.h"> </File> <File RelativePath=".\sqliteInt.h"> </File> <File RelativePath=".\vdbe.h"> </File> <File RelativePath=".\vdbeInt.h"> </File> </Filter> </Files> <Globals> </Globals> </VisualStudioProject>