[Gambas-user] Return code 245 from SDL
Dominique SIMONART
simonart.dominique at ...11...
Wed Nov 16 00:42:01 CET 2005
Hi,
I written a Master Mind program and it work correctly until I want to
start a newgame. Then I got a message "le programme a retourné 245"
and it crash. On a window beside, I can read something about a
'parachute déployé dans SDL" (Yes, a frenchie here!). The exact place
where the crash appears is in this precise loop
FOR L = 0 to 9
frmJeu.grdElem[L,0].Picture = frmJeu.picImage[71].Picture
NEXT
when L = 3. This is always at the same place, whatever the first
game was. These lines ran without problem the first time.
I don't change anything in the declaration of the 2 things, and they are
used many times in the first game.
The code is in a module, the GridView and the Picture array are in
the main Form. All is running in IDE environment
I run Gambas 1.6 in SuSE 9.2
Could you help me?
Dominique
More information about the User
mailing list