Re: [sqlite] Re: New (ish) to C== and new to SQLite error with prepare.

2007-02-13 Thread Dan Kennedy
On Tue, 2007-02-13 at 16:18 +, Paul Simpson wrote: > rc = (sqlStepAdd)(); rc = (sqlStepAdd)(pStmt); - To unsubscribe, send email to [EMAIL PROTECTED]

Re: [sqlite] Re: New (ish) to C== and new to SQLite error with prepare.

2007-02-13 Thread Paul Simpson
> 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, >

[sqlite] Re: New (ish) to C== and new to SQLite error with prepare.

2007-02-13 Thread Igor Tandetnik
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,