On 1/26/2012 1:49 PM, Pete wrote:
I have been using sqlite on OS X for some time and sqlite3 comes
pre-installed.  I'm now looking at running some apps on Windows 7 and I
don't think sqlite3 is pre-installed on that platform.  I see there is a
precompiled binary available of sqlite3 available for download - what
directory should this be installed in?  If you haven't already guessed from
the question, I'm not vey familiar with WIndows!

http://sqlite.org/download.html

There are several ways to do it. You can get amalgamation - the whole of SQLite in a single source file. Then just add it to your project and compile it together with the rest of your code.

Or, from the same page, you could get precompiled DLL (look for sqlite-dll-win32-x86). You get a DLL and a DEF file. Follow instructions at http://msdn.microsoft.com/en-us/library/0b9xe492.aspx to build an import library, a LIB file (I assume you are using Visual Studio; instructions for other toolchains may differ). Then have your project link with that LIB. During deployment, install the DLL (not the LIB) in the same directory where you drop your executable.
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to