If I add an .rc file to my C::B application, I can include images into the .exe, like this
ID_icon_main ICON "icon_main.ico"
but as soon as I try to do anything else, like creating a dialog, I get all kinds of error, mostly syntax eror.
Elsewhere on the web I found out, that´s because I need a resource compiler for that, including tons of notes, of how to compile an .rc with various resource compilers at the command line.
What I would need is a "translation", where and how the commands go into the C:B settings, so that "Build" will do the same as
g++ -c hello.cpp
windres resfile.rc
g++ -o hello.exe hello.o resfile.o -mwindows
Unter settings - compiler and debugger ... - toolchain executables, I´ve set the resource compiler to windres.exe, but it looks like that´s not enough.