--- StevenLiu <[EMAIL PROTECTED]> wrote: > here is my code : > > sqlite *db; > char *zErrMsg = 0; > db = sqlite_open("test.db", 0, &zErrMsg); > sqlite_close(db); > db = NULL; > delete db; ^^^^^^^^^
Maybe leave that bit out. That's for deleting objects allocated with 'new', not SQLite handles. __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs