Search found 4 matches

by aurusfeles
Thu Apr 02, 2015 6:53 am
Forum: wxCode
Topic: Stack corrupted with wxSQLITE3Database
Replies: 7
Views: 3834

Re: Stack corrupted with wxSQLITE3Database

Thank you very much for your help. I'll try that. Each of your answers were very informative. I'll seek that sly error and find it.
Best regards
by aurusfeles
Wed Apr 01, 2015 3:04 pm
Forum: wxCode
Topic: Stack corrupted with wxSQLITE3Database
Replies: 7
Views: 3834

Re: Stack corrupted with wxSQLITE3Database

I tried to increase the stack reserve to 8000000 with no effect. or make the wxSQLite3Database object a class member instead of a local variable or use a dynamic object Code : Tout sélectionner wxSQLite3Database* db = new wxSQLite3Database(); I did this test too, and now I have a heap corruption det...
by aurusfeles
Tue Mar 31, 2015 11:26 am
Forum: wxCode
Topic: Stack corrupted with wxSQLITE3Database
Replies: 7
Views: 3834

Re: Stack corrupted with wxSQLITE3Database

Thank you for your reply. Actually, the code is really huge, I can't post it here. Is there any way to detect where the problem is, using Visual Studio or anything else? Til then, i'm using Sqlite directly (I don't use any specific feature of wxsqlite, so it's a bit of overkill), and the stack corru...
by aurusfeles
Thu Mar 26, 2015 11:11 am
Forum: wxCode
Topic: Stack corrupted with wxSQLITE3Database
Replies: 7
Views: 3834

Stack corrupted with wxSQLITE3Database

Hello, I'm using Visual Studio 2010 en C++ for a project that uses wxWidgets and SQLite database. I'm using wxSQLite3 too, and with the simple example below, I have the error Run-Time Check Failure #2 - Stack around the variable 'DB' was corrupted. when quitting the method. void DATABASE_INTERFACE::...