Den 2010-03-19 07:18 skrev Ralf Wildenhues:
AFAIU, the resource file (*.rc) is a simple hand-written text file, which may refer to the manifest file (like a .c file includes a header), then gets compiled by windres to an object file and linked in like any other object. Right?
That's not the whole truth. If you use Visual Studio, the primary way to edit the resources is not to hack the text of the .rc file (you certainly *can*, but it's not the recommended usage pattern). I think most Windows IDEs have resource editors to make it more painless to design dialogs and draw icons etc. Also, the resource compiler supplied by MS (i.e. RC.EXE) doesn't compile to an ordinary object file, instead it produces a .RES file (whatever format that is, maybe it's COFF but I don't think so) which you then feed to the linker. So, the usage pattern is equivalent but warped (as usual). I don't know if the text in the Windows section should address these nits though... Cheers, Peter -- They are in the crowd with the answer before the question. > Why do you dislike Jeopardy?