Dave Pickles <[EMAIL PROTECTED]> wrote:

> Attached my patch to implement the FORMAT_MESSAGE_FROM_SYSTEM variant of
> FormatMessage().
[...]

> Index: wine/dlls/kernel/locale_rc.rc
> ===================================================================
> RCS file: /home/wine/wine/dlls/kernel/locale_rc.rc,v
> retrieving revision 1.1
> diff -u -r1.1 locale_rc.rc
> --- wine/dlls/kernel/locale_rc.rc 2000/07/10 13:11:27 1.1
> +++ wine/dlls/kernel/locale_rc.rc 2000/07/16 17:00:13
> @@ -40,6 +40,7 @@
>  LANG_BEGIN (LANG_ENGLISH, SUBLANG_ENGLISH_US)  /*0x0409*/
>  #include "nls/enu.nls"
>  LANG_END
> +#include "messages/winerr_enu.rc"
>  LANG_BEGIN (LANG_ENGLISH, SUBLANG_ENGLISH_UK)  /*0x0809*/
>  #include "nls/eng.nls"
>  LANG_END
> @@ -252,3 +254,4 @@
>  LANG_BEGIN (LANG_BRETON, SUBLANG_DEFAULT) /* 0x0x93  */
>  #include "nls/brf.nls"
>  LANG_END

I would suggest to have the common kernel32_rc.rc that will include
all other resource files:

#include "locale_rc.rc"
#include "winerr_enu.rc"

etc.

Dmitry.


Reply via email to