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. 2 years ago
MyApp.rc Initial commit 2 years ago
MyData.txt Initial commit 2 years ago
ReadMe.org Add license. 2 years ago
main.cpp Initial commit 2 years 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.