I am using Visual C++ 6. And I am using the source-version 3.0.8 of SQLite.

So the va_list/end/start... functions should all be the very same... That's why it got me puzzled :S




At 22:24 25/10/2004, you wrote:

Hi Steve,

> Hi,
>
> I wanted to create my own "Format"-thingie, based upon my own database:

[snip]

> What did I do wrong?

I am not sure, but if the compiler AND the implementation of va_list etc.
weren't the same, then all bets are off.  This is because va_list etc. are
highly implementation-dependent, as the C standard AND the Kernighan &
Ritchie book state explicitly.

Are you using a precompiled version of SQLite?  If so, you need to compile
it yourself with the same compiler you are using for your app.

If the compiler is the same, does the header file for the va_list etc.
implementations come from C++, while the one in SQLite comes from the C
library?  Then you need to change the C++ code to use the same header file
as SQLite.

HTH

Ulrik Petersen

--
Ulrik Petersen, Denmark
Emdros -- the text database engine for analyzed or annotated text
http://emdros.org/


KaReL (aka Steven)

Main Webpage : http://www.karels0ft.be/
ICQ #        : 35217584

Attachment: pgpxKdToRO1oW.pgp
Description: PGP signature

Reply via email to