deepak dhananjaya <deepak.dhananj...@...> writes: > > HI All, > I have this piece of code: > > sqlite3 *db; > const char KDbName[] = "c:\\test\\Db1.db"; > int rc = sqlite3_open (KDbName, &db); > if (rc) > { > sqlite3_close (db); > return; > } > > its crashing while opening... > Note: its on Symbian platform.. > > Db1.db is existing in the path. > > please let me know whats the problem > > regards, > Deepak
There is nothing apparently inherently wrong with the code as-is; try running it on e.g. a Windows platform. However it may be that your libraries are faulty or not linked, or some other target system issue. Use a single-step debugger or a tool like 'strace' to discover why your program "crashes" - I presume you mean it just stops with no further output, though you don't actually give much data. MikeW _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users