From: "Rafe Aldridge" Subject: Bug in D5 loading RLE Bitmaps Date: 21 Oct 1999 00:00:00 GMT Message-ID: <7unvrs$8fr18@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.delphi.ide,borland.public.delphi.graphics There's a bug in D5 which means that you'll get a "Stream Read Error" if you try and load a RLE bitmap into a TImage for example. This is down to a bug in graphics.pas where the line: RLEStream.Seek( ImageSize, soFromEnd); in TBitmap.ReadDIB should say: RLEStream.Seek(-ImageSize, soFromEnd); (Thanks to various others for documenting this fix) This is easy enough to change and putting the modified graphics.pas into my lib folder meant that I quickly ended up with an all new and improved graphics.dcu file. However, I'm not sure what I have to recompile in order for the loading of bitmaps at design time to work. Anyone got any ideas? Or am I the only person finding these bugs in D5? (see other post regarding Toolbar problem) Rafe