Thanks, Simon.  I'll take your advice.  

Oh and BTW, I apologize for the "Mac truck" remark--I meant no offense to my 
friends who code for the Mac (grin).

R,
John

> -----Original Message-----
> From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org]
> On Behalf Of Simon Slavin
> Sent: Monday, November 29, 2010 5:39 PM
> To: General Discussion of SQLite Database
> Subject: Re: [sqlite] Just compiled SQLite in Visual Studio
> 
> 
> On 29 Nov 2010, at 11:10pm, john darnell wrote:
> 
> > here's that first dumb-sounding question.
> >
> > I got my boss to purchase an O'Reilly book called Using SQLite, and the 
> > author
> makes a rather ominous statement:  "All of the SQLite source is written in 
> C...Make
> sure you use a vanilla C Compiler."
> >
> > I just added it to a Visual Studio 8 project, turned off the use of 
> > precompiled
> headers (the project is a C++ project) and compiled the SQLite.c file without 
> any
> errors.  Is it really that easy, or am I about ready to be hit by a Mac truck 
> filled with
> bugaboos?
> 
> That's not dumb, that's "I've been hurt before.".  But you should definitely 
> use the
> command-line tool to make a database and see if your application can read it
> before you relax.
> 
> Portability is one of the main design criteria for SQLite.  Unlike most SQL 
> engines
> you can find these days it needs to run not only on desktop computers but TVs,
> phones, and tiny little embedded controllers.  The simplest way to make that
> happen is to write it in C and make sure it compiles on anything with a C 
> compiler
> available.  It's a handicap in some ways, since the programmers can't use even
> C++, but it means people developing for any new gadget tend to turn to SQLite.
> 
> And if it has to be compilable for a PVR/DVR a Wintel computer is no trouble 
> at all.
> 
> Simon.
> _______________________________________________
> 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

Reply via email to