[Sdl4fp-users] RE: runtime error on alloc to pSDL_RECT
Brought to you by:
trixx
From: julian g. <shi...@we...> - 2006-04-29 08:36:47
|
>Hi there. > >When trying to compile I got runtime error 216 at allocation of memory. >While in debug mode I receive the messege you see in the picture. > >http://unterhaltung.freepage.de/tycoon/sam/sdlerr.GIF > >The curious thing is, this allocation didn't make any problems before. >Any suggestions what is going wrong here? > >Greets, >Matthias i'm not compeately shure weather this is the fault that causes the error, but the procedure "readln" normaly needs a var where it can put the data. ( you could define a dummy and use it as parameter "readln( dummy )" ) but it also could be any problem with the "sdl-code" itself or another thing. did you (re-)installed any libary or the compiler itself? could it be that it doesn't load the units in your standart unit dir? ( i had this problem when i reinstalled my system ) the procedure readln may use pointer-based adressing of input data, so when there is no var, it tries to give the data to any adress. because of this you get runtime error 216 ( "general frotection fault" ) hope i could help you _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 |