mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
Hackfix Download! to get it working under ReactOS
svn path=/trunk/; revision=30544
This commit is contained in:
parent
83593d753a
commit
2bf254d901
9 changed files with 12 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
||||||
* COPYRIGHT: Copyright 2001 John R. Sheets (for CodeWeavers)
|
* COPYRIGHT: Copyright 2001 John R. Sheets (for CodeWeavers)
|
||||||
* Copyright 2004 Mike McCormack (for CodeWeavers)
|
* Copyright 2004 Mike McCormack (for CodeWeavers)
|
||||||
* Copyright 2005 Ge van Geldorp (gvg@reactos.org)
|
* 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
|
* Based on Wine dlls/shdocvw/shdocvw_main.c
|
||||||
|
@ -237,7 +237,7 @@ ThreadFunc(LPVOID Context)
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
if (RegOpenKey(HKEY_LOCAL_MACHINE,
|
if (RegOpenKey(HKEY_LOCAL_MACHINE,
|
||||||
TEXT("Software\\ReactOS\\Download!"),
|
TEXT("Software\\ReactOS\\Downloader"),
|
||||||
&hKey) != ERROR_SUCCESS)
|
&hKey) != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
goto end;
|
goto end;
|
||||||
|
|
|
@ -51,7 +51,7 @@ BEGIN
|
||||||
IDS_CATS_TITLE "Kategorien"
|
IDS_CATS_TITLE "Kategorien"
|
||||||
IDS_CHOOSE_FOLDER "Bitte wählen Sie den Ordner..."
|
IDS_CHOOSE_FOLDER "Bitte wählen Sie den Ordner..."
|
||||||
IDS_NOTCREATE_REGKEY "Registryschlüssel könnte nicht erstellt werden."
|
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_UNABLECREATE_FOLDER "Es konnte kein Ordner mit diesem Namen erstellt werden!"
|
||||||
IDS_UPDATE_URL "http://svn.reactos.org"
|
IDS_UPDATE_URL "http://svn.reactos.org"
|
||||||
END
|
END
|
||||||
|
|
|
@ -51,7 +51,7 @@ BEGIN
|
||||||
IDS_CATS_TITLE "Categories"
|
IDS_CATS_TITLE "Categories"
|
||||||
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
||||||
IDS_NOTCREATE_REGKEY "Could not create the registry key."
|
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_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
|
||||||
IDS_UPDATE_URL "http://svn.reactos.org"
|
IDS_UPDATE_URL "http://svn.reactos.org"
|
||||||
END
|
END
|
||||||
|
|
|
@ -51,7 +51,7 @@ BEGIN
|
||||||
IDS_CATS_TITLE "Categories"
|
IDS_CATS_TITLE "Categories"
|
||||||
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
||||||
IDS_NOTCREATE_REGKEY "Could not create the registry key."
|
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_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
|
||||||
IDS_UPDATE_URL "http://svn.reactos.org"
|
IDS_UPDATE_URL "http://svn.reactos.org"
|
||||||
END
|
END
|
||||||
|
|
|
@ -51,7 +51,7 @@ BEGIN
|
||||||
IDS_CATS_TITLE "Catégories"
|
IDS_CATS_TITLE "Catégories"
|
||||||
IDS_CHOOSE_FOLDER "Veuillez choisir le répertoire..."
|
IDS_CHOOSE_FOLDER "Veuillez choisir le répertoire..."
|
||||||
IDS_NOTCREATE_REGKEY "Échec lors de la création de la clé registre."
|
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_UNABLECREATE_FOLDER "Échec lors du répertoire avec ce nom !"
|
||||||
IDS_UPDATE_URL "http://svn.reactos.org"
|
IDS_UPDATE_URL "http://svn.reactos.org"
|
||||||
END
|
END
|
||||||
|
|
|
@ -51,7 +51,7 @@ BEGIN
|
||||||
IDS_CATS_TITLE "Categories"
|
IDS_CATS_TITLE "Categories"
|
||||||
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
||||||
IDS_NOTCREATE_REGKEY "Could not create the registry key."
|
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_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
|
||||||
IDS_UPDATE_URL "http://svn.reactos.org"
|
IDS_UPDATE_URL "http://svn.reactos.org"
|
||||||
END
|
END
|
||||||
|
|
|
@ -51,7 +51,7 @@ BEGIN
|
||||||
IDS_CATS_TITLE "Categories"
|
IDS_CATS_TITLE "Categories"
|
||||||
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
||||||
IDS_NOTCREATE_REGKEY "Could not create the registry key."
|
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_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
|
||||||
IDS_UPDATE_URL "http://svn.reactos.org"
|
IDS_UPDATE_URL "http://svn.reactos.org"
|
||||||
END
|
END
|
||||||
|
|
|
@ -59,7 +59,7 @@ BEGIN
|
||||||
IDS_CATS_TITLE "Categories"
|
IDS_CATS_TITLE "Categories"
|
||||||
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
IDS_CHOOSE_FOLDER "Please, choose the folder..."
|
||||||
IDS_NOTCREATE_REGKEY "Could not create the registry key."
|
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_UNABLECREATE_FOLDER "Unable to create a folder with this name!"
|
||||||
IDS_UPDATE_URL "http://svn.reactos.org"
|
IDS_UPDATE_URL "http://svn.reactos.org"
|
||||||
END
|
END
|
||||||
|
|
|
@ -360,7 +360,7 @@ SaveSettings(HWND hwnd)
|
||||||
TCHAR szBuf[MAX_PATH];
|
TCHAR szBuf[MAX_PATH];
|
||||||
|
|
||||||
if (RegOpenKey(HKEY_LOCAL_MACHINE,
|
if (RegOpenKey(HKEY_LOCAL_MACHINE,
|
||||||
TEXT("Software\\ReactOS\\Download!"),
|
TEXT("Software\\ReactOS\\Downloader"),
|
||||||
&hKey) != ERROR_SUCCESS)
|
&hKey) != ERROR_SUCCESS)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
@ -415,10 +415,10 @@ InitProfDlg(HWND hwnd)
|
||||||
DWORD dwDisp, dwSize;
|
DWORD dwDisp, dwSize;
|
||||||
|
|
||||||
if (RegOpenKey(HKEY_LOCAL_MACHINE,
|
if (RegOpenKey(HKEY_LOCAL_MACHINE,
|
||||||
TEXT("Software\\ReactOS\\Download!"),
|
TEXT("Software\\ReactOS\\Downloader"),
|
||||||
&hKey) != ERROR_SUCCESS)
|
&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,
|
0, NULL, REG_OPTION_NON_VOLATILE,
|
||||||
KEY_WRITE, NULL, &hKey, &dwDisp))
|
KEY_WRITE, NULL, &hKey, &dwDisp))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue