Presentation Manager resources used by the application and defined in a resource script file are compiled using the resource compiler provided in the IBM Developer's Toolkit for OS/2 2.0. The command sequence used to invoke the resource compiler is as follows:
rc MYPROG.RC MYPROG.EXE
This command sequence causes the resource compiler to read the resource definitions from the resource script file MYPROG.RC and compile them to produce an intermediate resource file MYPROG.RES, which is then incorporated into the executable module MYPROG.EXE.
Resources may also be compiled and incorporated into dynamic link libraries, simply by specifying the name of the DLL rather than the EXE file when invoking the resource compiler. Note that certain additional considerations may apply; see Presentation Manager Resources in a DLL for further information.
Note that under OS/2 Version 2.0, 32-bit applications may use existing 16-bit application modules and resources. This concept is known as mixed model programming, and is discussed in Mixing 16-Bit and 32-Bit Application Modules.