In general, WinAsm Studio resource editor is enough to work with most usual projects, but when you need to have UNICODE resources with strings in different codepage, it is out of its possibilities.
There is a good free resource editor: ResEdit
, which is able to produce rc-files in unicode encoding. It is not easy to integrate it with WinAsm Studio, but possible if keep in mind some differences in these two tools.
Usually, ResEdit opens WinAsm Studio produced rc-files, but after saving them they will appear incompatible, as all "#define"-s will be moved into resource.h include file - knowing this we may just decide to use only ResEdit for particular project. Another incompatibility appears when "CONTROL" statement is forced: in this case predefined classes like "Button" etc. will be represent with wrappers like "WC_BUTTON", which are defined in commctrl.h, but not handled by WinAsm Studio.
Running ResEdit you may configure it so it will produce resource.h in assembler accepted format: "MYBUTTON equ 1002" - then such file may be just included into assembly source to represent there resource definitions. This will cause an issue also - in this case rc-file will be not compilable with usual rc compiler as it will not understand "equ" definitions - let's hope it will be solved soon.
To be able to run ResEdit easy from WinAsm Studio, rc-file has to be included into the project (otherwise "Use External Resource Editor" menu option will be just disabled). Also this is required to enable resource compilation stage by IDE/FASM AddIn. But rc file, if it is UTF8 encoded, has to have no BOM header(!), otherwise it will be damaged! Then we have to set up ResEdit to not add BOM and set default encoding UTF8.
Now it is possible to have resource script in the project with UTF8 encoding.
As well as it is possible to use dlg2fasm converter (to use rc for dialogs only) it was upgraded to support ResEdit produced rc-files. To be able to use this you have to get version 4+ of dlg2fasm
, set up ResEdit to force "CONTROL" statements and include into your source these definitions directly or as separate include file:
you may see an example in attachment.
Also, ResEdit has a lot of other features, but i have not tested all of then yet, you may try it by yourself.
Attached File ( Number of downloads: 43 )