Hi,
Using code from notepad to reimplement lang with resources, I have a problem (searched over the net but didn't found speicfic help).
Original code is used as,for En by example :(notepad.rc) MENU_En MENU { POPUP MENU_FILE { MENUITEM MENU_FILE_NEW, NP_FILE_NEW and compiles.
I'm also using it as :
10:MAIN_MENU MENU 11:{ 12: POPUP MENU_FILE { 13: MENUITEM MENU_FILE_NEW, NP_FILE_NEW
and wrc fails like this : notepad.rc:12:13: Error: parse error
What I'm missing wrong ?
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
"Sylvain Petreolle" spetreolle@yahoo.fr wrote:
Using code from notepad to reimplement lang with resources, I have a problem (searched over the net but didn't found speicfic help).
[skipped]
I would recommend to have a look at dlls/user/resources/user32.rc, user32_xx.rc and try to use the same approach for notepad. I.e. separate all language resources to different files and create in that files complete menus, string tables, etc. It is a much more clean way IMHO and will eliminate all current headaches to try maintain string tables for different languages and resource files which actually make use of that string tables in a sane way.