[Lazarus] TFileStream

JoshyFun joshyfun at gmail.com
Mon Jan 26 17:37:13 CET 2009


Hello Dave,

Monday, January 26, 2009, 2:49:24 PM, you wrote:

DC>     FS.ReadBuffer(hdbuffer[0],32);
DC>   FillChar(recbuffer,RecSize,' ');

DC>         FS:=TFileStream.Create(fname,
DC> fmshareDenyWrite);<----- Fails here

DC> Project raised exception class 'External: SIGSEgV'

I'm 99% sure that one of upper lines is wrong. This kind of errors are
usually related with unwanted stack variables write, like reading
beyong limits, assigning a variable adress instead the value that
points that variable. Recheck that lines.

-- 
Best regards,
 JoshyFun




More information about the Lazarus mailing list