Resource Compiler Standard
Full Windows resource support with the #RESOURCE directive. Compile .rc files to .res and link them into executables. Fixed null-terminated path parsing and empty-include windres crash. Full regression test: test_resource.pb.
#RESOURCE Directive
The #RESOURCE directive tells PBXB64 to compile the specified .rc file to .res and link it into the final executable. The compiler handles the full .rc -> .res pipeline internally.
.RC File Example
Standard Windows .rc syntax: icons, dialogs, string tables, version info, menus, and bitmaps. The compiler uses windres to compile .rc to .res, then links the .res into the PE executable.
CLI - Resource Compilation
The .rc -> .res pipeline is fully automatic. The compiler detects #RESOURCE directives, invokes windres with proper null-terminated path handling, and links the resulting .res into the PE32+ executable.