I think I'll use Rainer's example: {$ir file.dat mydata}
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. 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. http://www.mapcore.org/topic/2829-second-release-5-skies/ 1024*1024*6 pixel jpgs
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal