[EXPLORER_NEW] Display a message box if the explorer registry key cannot be loaded, patch by Katayama Hirofumi

See issue #5407 for more details.

svn path=/trunk/; revision=47503
This commit is contained in:
Gregor Schneider 2010-05-31 19:16:14 +00:00
parent bd17e097fa
commit 86140dbf5a
19 changed files with 21 additions and 1 deletions

View file

@ -284,7 +284,9 @@ _tWinMain(IN HINSTANCE hInstance,
TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer"),
&hkExplorer) != ERROR_SUCCESS)
{
/* FIXME - display error */
TCHAR Message[256];
LoadString(hInstance, IDS_STARTUP_ERROR, Message, 256);
MessageBox(NULL, Message, NULL, MB_ICONERROR);
return 1;
}

View file

@ -121,6 +121,7 @@ BEGIN
IDS_PROPERTIES "&Свойства"
IDS_OPEN_ALL_USERS "&Отваряне на всички потребители"
IDS_EXPLORE_ALL_USERS "&Разлистване на всички потребители"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -126,6 +126,7 @@ BEGIN
IDS_PROPERTIES "Vl&astnosti"
IDS_OPEN_ALL_USERS "Ote&vøít složku All Users"
IDS_EXPLORE_ALL_USERS "Pro&cházet složku All Users"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "E&igenschaften"
IDS_OPEN_ALL_USERS "Öffnen (&Alle Benutzer)"
IDS_EXPLORE_ALL_USERS "Explorer (A&lle Benutzer)"
IDS_STARTUP_ERROR "Das System kann den Explorer nicht starten, weil die Registrierung nicht verfügbar bzw. fehlerhaft ist."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "P&roperties"
IDS_OPEN_ALL_USERS "O&pen All Users"
IDS_EXPLORE_ALL_USERS "E&xplore All Users"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -129,6 +129,7 @@ BEGIN
IDS_PROPERTIES "P&ropiedades"
IDS_OPEN_ALL_USERS "A&brir todos los usuarios"
IDS_EXPLORE_ALL_USERS "E&xplorar todos los usuarios"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "P&ropriétés"
IDS_OPEN_ALL_USERS "Ouvrir tous les utilisateurs"
IDS_EXPLORE_ALL_USERS "E&xplorer tous les utilisateurs"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "&Proprietà"
IDS_OPEN_ALL_USERS "&Apri tutti gli utenti"
IDS_EXPLORE_ALL_USERS "&Esplora tutti gli utenti"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "プロパティ(&R)"
IDS_OPEN_ALL_USERS "開く - All Users(&P)"
IDS_EXPLORE_ALL_USERS "エクスプローラ - All Users(&E)"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -125,6 +125,7 @@ BEGIN
IDS_PROPERTIES "속성(&R)"
IDS_OPEN_ALL_USERS "열기 - All Users(&P)"
IDS_EXPLORE_ALL_USERS "탐색 - All Users(&X)"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -124,6 +124,7 @@ BEGIN
IDS_PROPERTIES "&Parametrai"
IDS_OPEN_ALL_USERS "&Atverti visus vartotojus"
IDS_EXPLORE_ALL_USERS "&Narðyti visus vartotojus"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "&Eigenschappen"
IDS_OPEN_ALL_USERS "&Alle Gebruikers weergeven"
IDS_EXPLORE_ALL_USERS "Alle Gebruikers V&erkennen"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "E&genskaper"
IDS_OPEN_ALL_USERS "Å&pne alle brukere"
IDS_EXPLORE_ALL_USERS "U&tforsk alle brukere"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -123,6 +123,7 @@ BEGIN
IDS_PROPERTIES "W³aœ&ciwoœci"
IDS_OPEN_ALL_USERS "&Otwórz - wszyscy u¿ytkownicy"
IDS_EXPLORE_ALL_USERS "&Eksploruj - wszyscy u¿ytkownicy"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "P&roprietãþi"
IDS_OPEN_ALL_USERS "Deschidere& Toþi Utilizatorii"
IDS_EXPLORE_ALL_USERS "E&xplorare Toþi Utilizatorii"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -122,6 +122,7 @@ BEGIN
IDS_PROPERTIES "&Свойства"
IDS_OPEN_ALL_USERS "&Все пользователи"
IDS_EXPLORE_ALL_USERS "&Обзор Всех пользователей"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -120,6 +120,7 @@ BEGIN
IDS_PROPERTIES "Vl&astnosti"
IDS_OPEN_ALL_USERS "&Otvori<72> profil All Users"
IDS_EXPLORE_ALL_USERS "&Preskúma<6D> profil All Users"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -128,6 +128,7 @@ BEGIN
IDS_PROPERTIES "Â&ëàñòèâîñò³"
IDS_OPEN_ALL_USERS "&Âñ³ êîðèñòóâà÷³"
IDS_EXPLORE_ALL_USERS "&Îãëÿä âñ³õ êîðèñòóâà÷³â"
IDS_STARTUP_ERROR "The system cannot start explorer because the registry is corrupted or unavailable."
END
STRINGTABLE DISCARDABLE

View file

@ -8,6 +8,7 @@
#define IDS_PROPERTIES 102
#define IDS_OPEN_ALL_USERS 103
#define IDS_EXPLORE_ALL_USERS 104
#define IDS_STARTUP_ERROR 105
#define IDC_STARTBTN 304