Язык:
Русский
English
Creating Resources
With Turbo Pascal, you can create resources using a resource editor or a resource compiler.
You normally create a binary resource file (<FileName>.RES) for each application. This resource file contains binary information for all of the menus, dialogs, bitmaps, and other resources used by your application.
You use the $R <file name> compiler directive to add the binary resource file to your executable file (.EXE) during compilation. The result is a file that contains the application's compiled code and its resources.
You must also write code that loads the resources into memory. Each resource must be loaded into memory separately.