Re: String Resources & Popup Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, that's done. 
Now after this the should compile and run :
in En.rc MAIN_MENU is defined now like this :

MAIN_MENU MENU
{
 POPUP "&File" {
  MENUITEM "&New...", 0x100

En.rc is included by #include "En.rc" in rsrc.rc.

And gcc complies about it when compiling :
[syl@snoop notepad]$ make
gcc -c -I. -I. -I../../include -I../../include  -g -O2
-Wall -mpreferred-stack-boundary=2 -fPIC -DSTRICT
-DNONAMELESSUNION -DNONAMELESSSTRUCT  -D_REENTRANT
-I/usr/X11R6/include -o language.o language.c
language.c: In function `LANGUAGE_LoadMenus':
language.c:98: `MAIN_MENU' undeclared (first use in
this function)

> 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.


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

_______________________________________________
wine-users mailing list
wine-users@winehq.com
http://www.winehq.com/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux