hi,
i'm playing with the eblinux at the moment on Ubuntu 8.04, i'm trying to convert my I ching program.
it works great so far except for the stoptimer command...
if the timer is already stopped and stoptimer is call the program close or work a few times then crash (program doesnt respond)
here's what i have done so far:
Part of it is still in french ... sorry about that ;)
stoptimer at line 50 cause the problem
Krypt,
I will look. The stoptimer command is working fine, I get a random segmentation fault after pressing the button a few times.
Hands down that is the most RECT statements I have ever seen in a single program ;)
OK here is a quick fix for you
Put this declare at the top of your source:
declare cdecl extern g_object_set_data(object as pointer,key as string,dat as uint)
and after the stoptimer statement:
int tour
symbol = ""
stoptimer win
g_object_set_data(win.hwnd,"TIMER1",NULL) : ' Add this line
Paul.
Quote from: Paul Turley on August 02, 2008, 03:43:24 PM
Hands down that is the most RECT statements I have ever seen in a single program ;)
hehe :D it was easier to copy/paste than to think about a way to compress it :)
thanks for the fix!!
You are welcome. I'll have the permanent fix in the next update, which will be soon.
Paul.