Re: [sqlite] setup sqlite in vc++

2010-07-07 Thread Sam Carleton
On Wed, Jul 7, 2010 at 7:12 PM, Simon Slavin  wrote:

>
> The precompiled binaries are for those who see SQLite as some sort of
> external library and don't want to include it in their own application.
>  It's a useful alternative for those who want to keep their own app as slim
> as possible.
>

Or, in my case, have multiple programs/processes that will be accessing the
same DB and the desire is to have them all to use the exact same DLL.

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


Re: [sqlite] setup sqlite in vc++

2010-07-07 Thread Simon Slavin

On 7 Jul 2010, at 11:54pm, smengl90 wrote:

> Still doesn't work. Do I need the precompiled binaries at all? or including
> sqlite3.c and sqlite3.h found in the amalgamation is enough?

SQLite is distributed as source code.  The two files sqlite3.c and sqlite3.h 
are everything you need to use SQLite: compile them into your application and 
you have full SQLite support: just call the functions listed sqlite3.h in your 
own code.

The precompiled binaries are for those who see SQLite as some sort of external 
library and don't want to include it in their own application.  It's a useful 
alternative for those who want to keep their own app as slim as possible.

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


Re: [sqlite] setup sqlite in vc++

2010-07-06 Thread Sam Carleton
On Tue, Jul 6, 2010 at 3:33 PM, smengl90 <
fixed-term.seak.meng...@us.bosch.com> wrote:

>
> Hi guys,
>
> I am trying to setup sqlite to be used with VC++ 2008. Can someone show me
> where I can find instructions on how to set it up? and do I need a c++
> wrapper to code in C++? If yes, can someone also show how to setup the
> wrapper?
>

What exactly do you mean "setup sqlite"? It is simply a library that you
link into your C++ program, make the C calls and you are in business. If you
want to wrap it, there are lots and lots of different C++ wrappers, but
being one that has used both, there is a lot more power in using the
straight C interface, and it is pretty easy too.  This coming from a dude
that hated databases before working with sqlite and now cannot life without
them!

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


[sqlite] setup sqlite in vc++

2010-07-06 Thread smengl90

Hi guys,

I am trying to setup sqlite to be used with VC++ 2008. Can someone show me
where I can find instructions on how to set it up? and do I need a c++
wrapper to code in C++? If yes, can someone also show how to setup the
wrapper?

Thanks
-- 
View this message in context: 
http://old.nabble.com/setup-sqlite-in-vc%2B%2B-tp29086729p29086729.html
Sent from the SQLite mailing list archive at Nabble.com.

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