When this code may fail? Code: /*********************************************************************** * MENU_CopySysPopup * * Return the default system menu. */ static HMENU MENU_CopySysPopup(BOOL mdi) { static const WCHAR sysmenuW[] = {'S','Y','S','M','E','N','U',0}; static const WCHAR sysmenumdiW[] = {'S','Y','S','M','E','N','U','M','D','I',0}; HMENU hMenu = LoadMenuW(user32_module, (mdi ? sysmenumdiW : sysmenuW)); ... I have tried setting "LC_ALL" to "en". hMenu is always 0 for my test-app [Rolling Eyes]