In this post, the author details the strange behaviors of the Windows RC compiler, such as bizarre tokenization rules and bugs with number literals, filenames, and incomplete resources. The author created a new resource compiler, resinator, with a goal of byte-for-byte identical outputs to the Windows RC compiler. Unexpectedly, the Windows RC compiler allows for complex number expressions as filenames and handles incomplete resources in a peculiar way. The author’s implementation highlights these quirks and provides valuable insights for anyone working with Windows resource scripts. This post serves as an entertaining and informative guide to navigating the complexities of the Windows RC compiler.
https://www.ryanliptak.com/blog/every-rc-exe-bug-quirk-probably/