I'm trying to use Resource Hacker to edit WIN32 dialogs, since the free version of Visual Studio doesn't support resource editing. I used to use the Borland resource editor when I was on Windows XP, but can't get that to work on Windows 7.
Anyway, when I open a .rc
file in Resource Hacker, it just shows the source. Presumably, I need to compile this before I can start editing resources. But all my control ID's are defined (with #define
) in an external .h
file, and the #include
directive to pull that in doesn't work - either with a relative path or an absolute path. If I copy the #define
statements into my source file, Resource Hacker can process them.
I tried opening the pre-compiled .res
file with Resource Hacker, and that works - allowing me to edit resources, and all. But of course, all the resource id's are shown with their integer values. So theoretically, I could edit resources that way and then copy/paste the results into the original .rc
source file - but surely this isn't how the tool was meant to be used...
What am I doing wrong?