[Sdl4fp-users] RE: runtime error on alloc to pSDL_RECT
Brought to you by:
trixx
From: Matthias <ma...@gm...> - 2006-04-29 14:32:10
|
Hi there. I just used the readln to check where the error occurs. I could have = removed them and the error would occur nevertheless. It has something to = do with the allocation of the memory.=20 Problem solved though. Anyhow I didn't change the code (just slept one = night) and today suddenly the error does not occur anymore..... My = explanation: Shut down and restart computer has flashed RAM. Thanks so far, Matthias ----- Original Message -----=20 From: Samuel Lid=E9n Borell=20 To: sdl...@li...=20 Sent: Saturday, April 29, 2006 11:40 AM Subject: Re: [Sdl4fp-users] RE: runtime error on alloc to pSDL_RECT Hi, ReadLn should work without any variable parameter. It shouldn't crash. /Samuel julian ganz wrote:=20 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=3D021192 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Sdl4fp-users mailing list Sdl...@li... https://lists.sourceforge.net/lists/listinfo/sdl4fp-users |