A simple tutorial for using Windows Resource Compiler.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Macoy Madson 9134c0a2d7 Add license. 5 days ago
MyApp.rc Initial commit 5 days ago
MyData.txt Initial commit 5 days ago
ReadMe.org Add license. 5 days ago
main.cpp Initial commit 5 days ago

ReadMe.org

Windows Resource Compiler Tutorial

See the article for the full tutorial.

Note that it's unnecessary that the file ends in .cpp. Change nullptr to NULL and rename to main.c for the C version.

Build and run

In a Developer command prompt:

  rc MyResources.rc
  cl main.cpp MyApp.res
  main.exe

License

This code is in the Public Domain.