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/