Link to home
Start Free TrialLog in
Avatar of Enej
Enej

asked on

Resource files ...

When I create  images with Delphi image editor and save them as Pictures.res
(and add {$R Pictures.res} to my
application),does this mean that Delphi has embedded the pictures into my applications and that I can delete the
actual pictures themselves?
Meaning,that I do not have to ship them with my application if I run my application on another computer?
Also I would like to know if you have to declare *.res on every Form in the application or just on the Main Form?
Thank you!
Avatar of bogieman_
bogieman_

Yes it means you don't need the external files, and you only need to declare it once.
Avatar of Enej

ASKER

>>external files<< - you mean the actual
*.bmp files used to produce *.res???
ASKER CERTIFIED SOLUTION
Avatar of RayGeide
RayGeide

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes - you only need the original BMP's to compile the RES file - not when you are running the program and using something like: image1.picture.bitmap.loadfromresource(...);  Or whatever.