In article <[EMAIL PROTECTED]>, Eli Zaretskii <[EMAIL PROTECTED]> writes: > Try passing the -mno-cygwin switch to GCC.
Ah. Thank you. This is the result. Program1: SYS: 0x411, USR: 0x411 Program2: LangID = SYS: 0x411, USR: 0x411 LCID = SYS: 0x411, USR: 0x411 GetUserDefaultUILanguage() = 0411 GetSystemDefaultUILanguage = 0411 This is Windows XP SP2, with the following Regional Settings (translated from Japanase): . In the Regional Options tab: . In "Standard and formats": Japanese . In "Location": Japan . In the Languages tab: . Clicking on Details shows: . In the Settings tab: . Default input language: Japanese - Microsoft Input 2003 . In the Advanced tab: . Every check box is unchecked . In the Advanced tab: . Language for non-Unicode programs: Japanese But, when I change "Language for non-Unicode programs" to Chinese (China), and reboot the system, the result of the programs changed as this: Program1: SYS: 0x804, USR: 0x411 Program2: LangID = SYS: 0x805, USR: 0x411 LCID = SYS: 0x411, USR: 0x411 GetUserDefaultUILanguage() = 0411 GetSystemDefaultUILanguage = 0411 --- Kenichi Handa [EMAIL PROTECTED] _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug