[DUG] Counting images ina resource

Jeremy Coulter vss at vss.co.nz
Fri Feb 16 14:37:46 NZDT 2007


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: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20070216/3768a6e7/attachment.html


More information about the Delphi mailing list