mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 10:20:03 +00:00
Hackfix Download! to get it working under ReactOS
svn path=/trunk/; revision=30544
This commit is contained in:
parent
83593d753a
commit
2bf254d901
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue