Hackfix Download! to get it working under ReactOS

svn path=/trunk/; revision=30544
This commit is contained in:
Pierre Schweitzer 2007-11-18 13:33:06 +00:00
parent 83593d753a
commit 2bf254d901
9 changed files with 12 additions and 12 deletions

View file

@ -5,7 +5,7 @@
* COPYRIGHT: Copyright 2001 John R. Sheets (for CodeWeavers)
* Copyright 2004 Mike McCormack (for CodeWeavers)
* Copyright 2005 Ge van Geldorp (gvg@reactos.org)
* Copyright 2007 Dmitry Chapyshev ()lentind@yandex.ru)
* Copyright 2007 Dmitry Chapyshev (lentind@yandex.ru)
*/
/*
* Based on Wine dlls/shdocvw/shdocvw_main.c
@ -237,7 +237,7 @@ ThreadFunc(LPVOID Context)
goto end;
}
if (RegOpenKey(HKEY_LOCAL_MACHINE,
TEXT("Software\\ReactOS\\Download!"),
TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
{
goto end;

View file

@ -51,7 +51,7 @@ BEGIN
IDS_CATS_TITLE "Kategorien"
IDS_CHOOSE_FOLDER "Bitte wählen Sie den Ordner..."
IDS_NOTCREATE_REGKEY "Registryschlüssel könnte nicht erstellt werden."
IDS_DOWNLOAD_FOLDER "Download!"
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Es konnte kein Ordner mit diesem Namen erstellt werden!"
IDS_UPDATE_URL "http://svn.reactos.org"
END

View file

@ -51,7 +51,7 @@ BEGIN
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
IDS_DOWNLOAD_FOLDER "Download!"
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END

View file

@ -51,7 +51,7 @@ BEGIN
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
IDS_DOWNLOAD_FOLDER "Download!"
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END

View file

@ -51,7 +51,7 @@ BEGIN
IDS_CATS_TITLE "Catégories"
IDS_CHOOSE_FOLDER "Veuillez choisir le répertoire..."
IDS_NOTCREATE_REGKEY "Échec lors de la création de la clé registre."
IDS_DOWNLOAD_FOLDER "Download!"
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Échec lors du répertoire avec ce nom !"
IDS_UPDATE_URL "http://svn.reactos.org"
END

View file

@ -51,7 +51,7 @@ BEGIN
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
IDS_DOWNLOAD_FOLDER "Download!"
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END

View file

@ -51,7 +51,7 @@ BEGIN
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
IDS_DOWNLOAD_FOLDER "Download!"
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END

View file

@ -59,7 +59,7 @@ BEGIN
IDS_CATS_TITLE "Categories"
IDS_CHOOSE_FOLDER "Please, choose the folder..."
IDS_NOTCREATE_REGKEY "Could not create the registry key."
IDS_DOWNLOAD_FOLDER "Download!"
IDS_DOWNLOAD_FOLDER "Downloader"
IDS_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
IDS_UPDATE_URL "http://svn.reactos.org"
END

View file

@ -360,7 +360,7 @@ SaveSettings(HWND hwnd)
TCHAR szBuf[MAX_PATH];
if (RegOpenKey(HKEY_LOCAL_MACHINE,
TEXT("Software\\ReactOS\\Download!"),
TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
return FALSE;
@ -415,10 +415,10 @@ InitProfDlg(HWND hwnd)
DWORD dwDisp, dwSize;
if (RegOpenKey(HKEY_LOCAL_MACHINE,
TEXT("Software\\ReactOS\\Download!"),
TEXT("Software\\ReactOS\\Downloader"),
&hKey) != ERROR_SUCCESS)
{
if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, L"Software\\ReactOS\\Download!",
if (RegCreateKeyEx(HKEY_LOCAL_MACHINE, L"Software\\ReactOS\\Downloader",
0, NULL, REG_OPTION_NON_VOLATILE,
KEY_WRITE, NULL, &hKey, &dwDisp))
{