Re: [sqlite] Access Violation in sqlite3.dll

2009-10-01 Thread meng wei
Thanks! >This line shouldn't compile unless you really meant >&CMainView::sqlCallback_UpdateList as the 3rd parameter. I reallly meant it as the 3rd parameter. I have made my program run but don't why,as I've wrote in the reply to Pavel. >Do you understand that this output is useless? What woul

Re: [sqlite] Access violation in sqlite3.dll

2009-10-01 Thread meng wei
THANKS VERY MUCH for so exhaustive reply! :-) I made my program run before I saw your reply, but I can't understand how it works. The problem seems to be caused by the 1st parameter of sqlite3_exec. sqlite3_exec(pDoc->m_db,pDoc->m_strSQL,sqlCallback_UpdateList , 0, &(pDoc->m_pErrMsg)); I changed

Re: [sqlite] Access violation in sqlite3.dll

2009-09-28 Thread meng wei
That sounds reasonable. But I 've deleted code which can provide evidence. That's all,it's just a homework. Thanks! ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Access Violation in sqlite3.dll

2009-09-28 Thread meng wei
Thanks! > This line shouldn't compile unless you really meant > &CMainView::sqlCallback_UpdateList as the 3rd parameter. I reallly meant it as the 3rd parameter. I have made my program run but don't why,as I've wrote in the reply to Pavel. > Do you understand that this output is useless? What w

Re: [sqlite] Access violation in sqlite3.dll

2009-09-28 Thread meng wei
THANKS VERY MUCH for so exhaustive reply! :-) I made my program run before I saw your reply, but I can't understand how it works. The problem seems to be caused by the 1st parameter of sqlite3_exec. sqlite3_exec(pDoc->m_db,pDoc->m_strSQL,sqlCallback_UpdateList , 0, &(pDoc->m_pErrMsg)); I changed

[sqlite] Access Violation in sqlite3.dll

2009-09-28 Thread meng wei
I met no problem with win32 console application,but when it turn to MFC in Visual C++,the same code dosen't work. *The error is:* Unhandeled exception in xxx.exe(sqlite3.dll)0xC005 Access Violation *More output:* Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\sys

[sqlite] Access violation in sqlite3.dll

2009-09-27 Thread meng wei
Hi everyone! I met no problem with win32 console application,but when it turn to MFC in Visual C++,the same code dosen't work. Anyone can give me some suggestion? Thanks in advance! *The error is:* Unhandeled exception in xxx.exe(sqlite3.dll)0xC005 Access Violation *More output:* Loaded 'ntdll