Hi everybody!
<div><br></div><div>Recently had to crank up D2005 and noticed in the IDE under the <u>P</u>roject Menu Item, <u>A</u>dd to Project,</div><div>that I could add images and other stuff which fascinated me as I had always used .rc(s) and loaded streams etc.</div>
<div><br></div><div>(In fact the dialogue box presents an impressive list of different kinds of files that may be added to the project, including .dll and crystal reports, and other picture image types etc...)</div><div>
<br></div><div>So If you add a Jpeg say to the .dpr (.bdsproj in 2005), you get an entry under any {$R type entries like so...</div><div><br></div><div>{$R 'htmlList.res' 'htmlList.rc'}</div><div>{%Jpg 'images\MyPicture.jpg'} </div>
<div><br></div><div>Which is self explanatory for the original file location.</div><div><br></div><div>Now I have had a good look around but I can not find any documentation on this "{%" type stuff and having a % in it seems to make web-searching harder.</div>
<div><br></div><div>Went though the Delphi 2005 help materials but no joy there.</div><div><br></div><div>Is my Jpeg now embedded as some kind of resource in the .exe? And if so how would I access it?</div><div><br></div>
<div>Any help appreciated please.</div><div><br></div><div>Paul</div>