> Paul Simpson <[EMAIL PROTECTED]>
> wrote:
>> sqlite3_stmt **ppStmt;
>> const char **pzTail;
>>
>> rc = (sqlPrepareAdd)(newdb,
>> getDBVersion.c_str(),getDBVersion.length(),ppStmt,pzTail);
>
> Make it
>
> sqlite3_stmt* pStmt;
> const char* pzTail;
> rc = (sqlPrepareAdd)(newdb,
>   getDBVersion.c_str(),getDBVersion.length(), &pStmt, &pzTail);
>
> When you pass in pointers, they should actually point to a valid
> locaction in memory.
>
> Igor Tandetnik
>
Thanks for that :-)

Now I have a further problem, the line

        rc = (sqlStepAdd)(&pStmt);

is returning 21, which (I think) means SQLITE_MISUSE

Any ideas?

-- 
Paul



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to