Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error reading ImageList1.Bitmap: Failed to read ImageList data from stream.

1,170 views
Skip to first unread message

Fred Arters

unread,
Nov 6, 2003, 6:16:16 PM11/6/03
to
Anyone run across this before?

Error reading ImageList1.Bitmap: Failed to read ImageLIst data from stream.

This occurs when the main form is created that contains an icon bar and an
imagelist that was preloaded at design with icons.

Never had a problem with the app but recently rebuilt the project in Delphi
6 on a Windows XP machine and a few (not all) users running NT 4 Service
Pack 6 have complained that they get that error when the form is created.

Cant recreate it on a test machine and other users in the shop also are
running NT 4 Service Pack 6 and the program runs fine.

Any ideas?


Peter Below (TeamB)

unread,
Nov 7, 2003, 6:31:04 AM11/7/03
to

This may be related to the common controls version installed on the problem PCs.
MS changed the stream format for imagelists twice in the history of the common
controls, if memory serves. If you save a list in a newer format (which the IDE does
on your development machine) and then try to load it on an older ComCtl32 version
(on your users machine) it may fail.

I think the Delphi specs now require at least version 4.72 of the common controls DLL,
which is the version installed with IE 4.0. Look at GetComCtlVersion in the Delphi
help, it gives you a means to test which version you are dealing with at run-time.


--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be


0 new messages