On 6/23/05, James Arthur <[EMAIL PROTECTED]> wrote:
> I've started with something fairly simple - opening and closing a database.
> ---
> rc = sqlite3_open("test.db", db)

You are not passing the correct arguments to sqlite3_open. The
compiler should have noticed this...

If you are declaring the variable db like "sqlite3 *db;" you have to
call sqlite3_open like:
rc = sqlite3_open("test.db", &db);

That should fix things.

Tiago

Reply via email to