Thanks for reply! I do have try your suggestion, but it seems to no effect :( For Symbian OS it is very strict with the memory assignation, u must call closeSTDLIB() after using some stdlib functions otherwise u will got the exit error. So I guess my issue like that But I have no idea about what to deal with the sqlite_open() such as closeSTDLIB().
Regards, Steven Liu -----邮件原件----- 发件人: Thomas Fjellstrom [mailto:[EMAIL PROTECTED] 发送时间: 2005年4月5日 14:06 收件人: sqlite-users@sqlite.org 主题: Re: [sqlite] Sqlite causes exit error under symbian! On April 4, 2005 11:58 pm, Dan Kennedy wrote: > --- 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. > especially since it was set to NULL just before. -- Thomas Fjellstrom [EMAIL PROTECTED]