Thanks Pavel. Two points though:
1. The amalgated sources were, apparently, not written with MS Visual Study in mind, since compiling it results in over 100 errors (mostly invalid pointer conversions) 2. If I have a number of apps, it would really be more efficient to use the DLL. I'm sure I can fix all the pointer casts (shouldn't be necessary if the code used more consistent types!), but that would take me a lot of time, plus, there should be a way to simply use the .dll: since there IS a windows console app, there must be either a .lib file somewhere, or there is an alternative way of using DLL's from a windows console app, that I'm not aware of. Kind regards, ~ Paul Claessen > -----Original Message----- > From: Pavel Ivanov [mailto:paiva...@gmail.com] > Sent: Saturday, July 25, 2009 11:31 AM > To: p...@claessen.com; General Discussion of SQLite Database > Subject: Re: [sqlite] .lib file? > > You can take sqlite3.c from amalgamation package and include it into > your project. This way SQLite will be included into your application > and you won't need any .dll or .lib files. > > Pavel > > On Sat, Jul 25, 2009 at 10:41 AM, Paul Claessen<p...@claessen.com> wrote: > > Greetings, > > > > > > > > I'm trying to build and use the short sample C code on the quick start page > (http://www.sqlite.org/quickstart.html) for windows as a > > simple win32 console app, using Visual Studio 2008. > > > > In order to provide linkage to the DLL, I need to link with the .lib file > > that is usually created > when creating a DLL. Where can I > > find that file? > > > > Or are there other ways to actually build the above mentioned app, without > > such a library? > > > > There is a windows test console app, but I can't find the project files for > > it. Does anyone have > them, and knows how to build a > > simple console app, using the dell, in Visual Studio? > > > > > > > > Kind regards, > > > > > > > > ~ Paul Claessen > > > > > > > > > > > > _______________________________________________ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users