[Gambas-user] Return code 245 from SDL

lordheavy lordheavy at ...512...
Thu Nov 17 14:10:57 CET 2005


Le Mercredi 16 Novembre 2005 01:59, Dominique SIMONART a écrit :
> Le Mercredi 16 Novembre 2005 00:42, Dominique SIMONART a écrit :
> > 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

Yes ! another frenchie ! :)

> >
> > 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
>
> Correction:
> FOR L = 0 TO 9
>   frmJeu.grdElem[L,0].Picture = frmJeu.picImage[71+L].Picture
> NEXT
>
> note: The array contains 89 pictures (24x24 pixels)
> Dominique
>

Could you send me your project ? or send me a link to it so i could take a 
look at.

Regards,

--
jabber : lordheavy at ...943...
mail : lordheavy at ...1220...





More information about the User mailing list