my sqlite version 2.8.11 , all of the function are ok , but my program will
always reporting me an error : 

Application Error : unknown software exception (0x80000003) , position
:0x6001c966 when exiting if i use the function sqlite_open() , it seems like
something wrong when dealing with memory , but i do have called the close()
. so why ? and what should I do ?

 

here is my code : 

sqlite *db; 
char *zErrMsg = 0; 
db = sqlite_open("test.db", 0, &zErrMsg); 
sqlite_close(db); 
db = NULL; 
delete db; 

is there any problem in them ?

 

 

Best,Regards

Steven

Reply via email to