I think I'll use Rainer's example:<div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">{$ir file.dat mydata}</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</span></div><div><font color="#222222" face="arial, sans-serif">I just hope the final exe won't get bloated if resource are included in this manner and never used and also that it does slow down compilation every time unless I add to new resources or change code in the unit containing the resource.</font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><font color="#222222" face="arial, sans-serif">What I basically have is some large jpgs, test scripts, compressed sound files and fonts, and I want them built into my library but discarded if no code references them. That is, if an app doesn't use a skybox (there are no references to the skybox class), then the default skybox jpeg resource is not linked into the exe.</font></div>
<div><font color="#222222" face="arial, sans-serif"><br></font></div><div><a href="http://www.mapcore.org/topic/2829-second-release-5-skies/">http://www.mapcore.org/topic/2829-second-release-5-skies/</a></div><div>1024*1024*6 pixel jpgs</div>
<div><br></div>