<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">


<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=125473601-16022007><FONT face=Arial 
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125473601-16022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=125473601-16022007><FONT face=Arial 
color=#0000ff size=2>Now its all nice and dynamic as I wanted 
it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=125473601-16022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=125473601-16022007><FONT face=Arial 
color=#0000ff size=2>Jeremy</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@ns3.123.co.nz 
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Jeremy 
Coulter<BR><B>Sent:</B> 16 February 2007 12:01<BR><B>To:</B> 'NZ Borland 
Developers Group - Delphi List'<BR><B>Subject:</B> [DUG] Counting images ina 
resource<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=937375822-15022007><FONT face=Arial size=2>Hi all. Anyone know 
how to cound how many bitmpas are ina resource thats included in a DLL or 
exe?</FONT></SPAN></DIV>
<DIV><SPAN class=937375822-15022007><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=937375822-15022007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=937375822-15022007><FONT face=Arial size=2>anyone know how to 
do that at all? I mustbe searching wrong on google :-)</FONT></SPAN></DIV><BR>
<P><FONT size=2>--<BR>No virus found in this outgoing message.<BR>Checked by AVG 
Free Edition.<BR>Version: 7.5.441 / Virus Database: 268.17.39/687 - Release 
Date: 14/02/2007 16:17<BR></FONT></P><BR>
<P><FONT size=2>--<BR>No virus found in this incoming message.<BR>Checked by AVG 
Free Edition.<BR>Version: 7.5.441 / Virus Database: 268.17.39/687 - Release 
Date: 14/02/2007 16:17<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P></BODY></HTML>
<BR>

<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 14/02/2007 16:17<BR>
</FONT> </P>