found a way to do it. I remembered about the resource explorer demo in teh demos dir, and figured it out/copied it form there. Now its all nice and dynamic as I wanted it. Jeremy
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter Sent: 16 February 2007 12:01 To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG] Counting images ina resource Hi all. Anyone know how to cound how many bitmpas are ina resource thats included in a DLL or exe? I am using a resource DLL to put in some images so that if I change/add an icon I dont ahve to roll out a new exe, just a dll, so i need to know how many bitmaps are stored int eh resource so I know how big my loop needs to be when addign teh imaes toa TImageList. anyone know how to do that at all? I mustbe searching wrong on google :-) -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 14/02/2007 16:17 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 14/02/2007 16:17 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 14/02/2007 16:17
_______________________________________________ Delphi mailing list Delphi@ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi