Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-04

FCL Streams Bug i believe

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Cliff Baeseman
to Michael Van Canneyt: The tests I compiled work fine. Can you send me some source to demonstrate this ? Michael.

Sorry I could not respond sooner I have been in Rational Rose traingin all day today. I cannot send you any code just yet, but it is in the lazarus project code unit named project.pp....

Cliff

Earlier message 30 lines
-----Original Message----- From: Behalf Of Michael Van Canneyt Sent: Wednesday, April 28, 1999 2:31 AM To: Cc: Subject: Re: [fpc-pascal] FCL Streams Bug i believe On Tue, 27 Apr 1999, Cliff Baeseman wrote: > Everyone, > > I think Ihave uncovered a FCL streams bug. I created a Tmemory stream > and wrote a integer to the stream. I then tried to open the file tha was > created using TMemoryStream.LoadFromFile(fileName) and am unable to read > back anything from the file using the read method. It there a known > problem with this? Do I perhaps have to old a version of the FCL the > last snapshot I got was a week ago. The tests I compiled work fine. Can you send me some source to demonstrate this ? Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject

Reply by email

Michael Van Canneyt
to Cliff Baeseman
Cliff Baeseman wrote
Sorry I could not respond sooner I have been in Rational Rose traingin all day today. I cannot send you any code just yet, but it is in the lazarus project code unit named project.pp....

It is fixed now, see my other mail about this. The problem was in TInifiles, it was compiled using shortstrings. I put in {$H+} and now it works.

Michael.

Reply by email

Michael Van Canneyt
to Cliff Baeseman: I think Ihave uncovered a FCL streams bug. I created a Tmemory stream and wrote a…
Cliff Baeseman wrote 8 lines
Everyone, I think Ihave uncovered a FCL streams bug. I created a Tmemory stream and wrote a integer to the stream. I then tried to open the file tha was created using TMemoryStream.LoadFromFile(fileName) and am unable to read back anything from the file using the read method. It there a known problem with this? Do I perhaps have to old a version of the FCL the last snapshot I got was a week ago.

The tests I compiled work fine. Can you send me some source to demonstrate this ?

Michael.

Reply by email

Cliff Baeseman

Everyone,

I think Ihave uncovered a FCL streams bug. I created a Tmemory stream and wrote a integer to the stream. I then tried to open the file tha was created using TMemoryStream.LoadFromFile(fileName) and am unable to read back anything from the file using the read method. It there a known problem with this? Do I perhaps have to old a version of the FCL the last snapshot I got was a week ago.

Cliff

Reply by email