>    char *zErrMsg;
>    rc = sqlite3_open("a.db", &db);
>    if (rc) {

Besides the faulty error trapping in the other mail - it just occurred to me 
that your default/current working directory is also in a place you are unlikely 
to be allowed to write 

So I would out the correct path there; or for testing use

>    rc = sqlite3_open(“/tmp/a.db", &db);

in conjunction with not using exit0) & adding error logging.

Dw.

Reply via email to