Re: [sqlite] SQLite under c++

2008-07-24 Thread Igor Tandetnik
"Juzbrig" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok it works but how do I get messages/errors back from DB? Because > now im doing it blind. You check return value for error code. If you got one, you call sqlite3_errmsg[16] for an error message. Igor Tandetnik

Re: [sqlite] SQLite under c++

2008-07-24 Thread Juzbrig
ED] On Behalf Of Juzbrig > Sent: 23 July 2008 13:31 > To: sqlite-users@sqlite.org > Subject: [sqlite] SQLite under c++ > > > Hi. > I am new in sqlite (before I have mysql + php experience). I have a > question > > If my DB is alredy open > > sqlite3* handle; &

Re: [sqlite] SQLite under c++

2008-07-23 Thread Igor Tandetnik
Juzbrig <[EMAIL PROTECTED]> wrote: > I am new in sqlite (before I have mysql + php experience). I have a > question If my DB is alredy open > > sqlite3* handle; > const char* baza = "cols.db3" ; > char *zErrMsg = 0; > sqlite3_open(test_baza,); > > How can I get the results of SQL "SELECT * FROM"

Re: [sqlite] SQLite under c++

2008-07-23 Thread Mike Marshall
3_finalize(pStatement); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juzbrig Sent: 23 July 2008 13:31 To: sqlite-users@sqlite.org Subject: [sqlite] SQLite under c++ Hi. I am new in sqlite (before I have mysql + php experience). I have a question If my DB

[sqlite] SQLite under c++

2008-07-23 Thread Juzbrig
Hi. I am new in sqlite (before I have mysql + php experience). I have a question If my DB is alredy open sqlite3* handle; const char* baza = "cols.db3" ; char *zErrMsg = 0; sqlite3_open(test_baza,); How can I get the results of SQL "SELECT * FROM" into a string table or any c++ structure ?