Hi Peter!
I tested my program more exactly and I think now, it may be rather a GTK2 error because of the following: The error occurs in the following lines (penztar.pike: 38 and 39):
34 /* apply gomb */ 35 design->cashflow->okb 36 ->signal_connect("clicked", lambda() 37 { 38 engine->account->source = design->cashflow->megjegyzesc->get_active_text(); 39 engine->account->dest = design->cashflow->ellenszamlac->get_active_text(); 40 engine->account->date = design->cashflow->datume->get_text(); 41 engine->account->money = (int) design->cashflow->osszege->get_text(); 42 engine->account->message = design->cashflow->megjegyzese->get_text(); 43 44 engine->account->konyvelj(); 45 46 design->cashflow->foablakw->destroy(); 47 });
I think the problem is with the get_active_text method (just on Windows both with 7.8.316 and 7.8.352). If I change them to "something" instead of get_active_text the program works well. Both classes are ComboBoxEntry.
I attach my program. (It's just for me (and the family), not a business application...):
If you run it, press the first button ("pénzmozgás (beérkező/kimenő)") and then fill the form with something, for example so as on the attached picture. Now, if you press the "Alkalmaz" ("Apply") button the program will crash (only on Windows).
Cheers: Tamás Csürke
Date: Sun, 22 Aug 2010 13:31:15 +0200 Subject: Re: sqlite bug on Windows? From: bortas@gmail.com To: linuxlinux1@windowslive.com CC: pike-devel@lists.lysator.liu.se
2010/8/22 Csürke Tamás linuxlinux1@windowslive.com:
Pike programs (pike version 7.8.316) crash on Windows if I use sql insert with the builtin sqlite module (on Linux there is no problem). Maybe it is a bug?
Hi Csürke,
That most certainly would be a bug. Do you have a short example of how to crash it?
-- Peter Bortas