To add the compiled resources to a dynamic-link-library (DLL) file, use the following command:
rc example.res dynalink.dll