mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +00:00
Error if download failed.
svn path=/trunk/; revision=25230
This commit is contained in:
parent
aa366332eb
commit
32bfd4a46f
|
@ -40,6 +40,7 @@
|
|||
#include <debug.h>
|
||||
|
||||
extern struct Application* SelectedApplication;
|
||||
extern WCHAR Strings [STRING_COUNT][MAX_STRING_LENGHT];
|
||||
|
||||
typedef struct _IBindStatusCallbackImpl
|
||||
{
|
||||
|
@ -250,7 +251,12 @@ ThreadFunc(LPVOID Context)
|
|||
{
|
||||
IBindStatusCallback_Release(dl);
|
||||
}
|
||||
if (S_OK != r || bCancelled )
|
||||
if (S_OK != r)
|
||||
{
|
||||
MessageBoxW(0,Strings[IDS_DOWNLOAD_ERROR],0,0);
|
||||
goto end;
|
||||
}
|
||||
else if (bCancelled)
|
||||
{
|
||||
goto end;
|
||||
}
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#define IDS_CHOOSE_BOTH 13
|
||||
#define IDS_XMLERROR_1 14
|
||||
#define IDS_XMLERROR_2 15
|
||||
#define IDS_DOWNLOAD_ERROR 16
|
||||
|
||||
#define STRING_COUNT 15
|
||||
#define STRING_COUNT 17
|
||||
#define MAX_STRING_LENGHT 0x100
|
||||
|
|
|
@ -28,4 +28,5 @@ BEGIN
|
|||
IDS_CHOOSE_BOTH "Bitte wählen Sie eine Unterkategorie oder eine Anwendung."
|
||||
IDS_XMLERROR_1 "XML Datei nicht gefunden!"
|
||||
IDS_XMLERROR_2 "XML Datei kann nicht verarbeitet werden!"
|
||||
IDS_DOWNLOAD_ERROR "Die Datei konnte nicht runtergeladen werden.\nBitte prüfen sie, ob eine Verbindung zum Internet besteht."
|
||||
END
|
||||
|
|
|
@ -28,4 +28,5 @@ BEGIN
|
|||
IDS_CHOOSE_BOTH "Please choose a subcategory or an application."
|
||||
IDS_XMLERROR_1 "Could not find the xml file !"
|
||||
IDS_XMLERROR_2 "Could not parse the xml file !"
|
||||
IDS_DOWNLOAD_ERROR "Unable to download the file.\nPlease check you internet connection."
|
||||
END
|
||||
|
|
Loading…
Reference in a new issue