Patrick Dunford asked:
> When the Comctl32 updates came out originally there was a lot
> of grumping because the imagelists in older Delphi programs
> stopped working properly (or was that it - I'm dredging my
> memory now) - don't remember the details too well but when IE4
> shipped it broke the code that Borland was using to handle
> image lists. How is this related to this problem?
As far sa I remember that was a Borland problem due to the way that they
streamed the image list bitmap to the resource stream. When Microsft
versioned the ComCtrl32 DLL they changed something that caused the Delphi
streaming code to load the bitmap badly when you loaded a form on a
machine that had a different ComCtl32 version.
We worked about the problem by loading our image lists from a bitmap
resource at runtime rather than having it streamed in. This saves on
having multiple copies of the same bitmap in memory, and dodged the entire
streaming version issue.
Cheers, Max.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz