Re: [sqlite] Tcl interface updated to require TCL version 8.4

2004-08-20 Thread Andy Colson
Mauricio Piacentini wrote:
Mosley, Harlan R. wrote:
I have been considering sqlite for my windows application, and I am an
individual who has not the resources to upgrade, so I continue to use
TclPro 1.4 (8.3.2) because of the tools in the TcLPro package. 
I would not be able to use the latest sqlite because of this, but
probably could still consider 2.8.15.

Just to let you know you don't necessarily need TCL to use the base 
SQLite code and packages, to the best of my knowledge. I at least do not 
have it installed on Windows (but I compile the sources embedded into my 
project.) Just remove the tclsqlite.c source file from your build. Of 
course you will not be able to run the TCL tests, but you can definately 
run your SQLite-enabled program without having TCL installed.

Regards,
Mauricio
True, I compile my sqlite3.dll without the TCL stuff just fine.
-Andy


Re: [sqlite] 3.0 ship date?

2004-07-26 Thread Andy Colson
CARIOTOGLOU MIKE wrote:
I am working on a Delphi wrapper of the sqlite3 API. Where should I post the
file when properly tested ?
I'm not sure if you can post files to the wikki or not, but that might 
be one place.

I have been thinking of adding some of my delphi source to my webpage, 
if/when I do I'd be happy to make you a page and host for you, if you'v 
got no where better.

> the following exports are missing from sqlite3.def (for windows):
> sqlite3_version
> sqlite3_get_auxdata
> sqlite3_set_auxdata
I assume they are missing from my DLL as well, I'll recompile tonight 
when I get off work and put it out.

-Andy


Re: [sqlite] Versions 2.8.15 and 3.0.3 available

2004-07-22 Thread Andy Colson
Roger Reghin (Duty/Sedes/CWB) wrote:
D. Hipp,
is there a 2.8.15 pre-compiled DLL available??  I still couldn't find any =(
Thanks,
Roger Reghin.
I have compiled the 3.0.3 DLL as well as 2.8.15 (my first time with the 
2.8.x so hopefully its right) and put them on my website:

http://squeakycode.net/
if anyone has problems please let me know.
-Andy
PS  I included the sqlite_encode_binary and decode_binary into the DLL, 
it just seemed like a good idea...  hope it wont break anything.


Re: [sqlite] question on sqlite3 api

2004-07-21 Thread Andy Colson
CARIOTOGLOU MIKE wrote:
I am creating a Delphi wrapper for sqlite 3 API. I am having some trouble
interpeting the documentation and c header
files. specifically, I am not sure how to handle these:
int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n,
void(*)(void*));
int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n,
void(*)(void*));
with regard to the last parameter. I am reading it as being a pointer to a
function that takes a pointer and returns 
nothing (a procedure). but, nowwhere is it mentioned what this function is
supposed to do...

also, the documentation in sqlite3.h mentions a parameter "eCopy", which
defines whether bound parameters are static or
volatile. but, I cannot see where this is declared and/or passed. I am
guessing that this has to do with this last
"weird" parameter. Could somebody, preferably DRH, step in and explain,
please ?

I asked the same queston, check out:
http://article.gmane.org/gmane.comp.db.sqlite.general/6453
-Andy