Update to lzma 23.01.

This commit is contained in:
2023-09-24 03:13:03 +01:00
parent 5a6a32f513
commit dda9bcac54
530 changed files with 31937 additions and 14468 deletions

View File

@@ -18,12 +18,15 @@ void ShowErrorMessage(HWND window, LPCWSTR message)
void ShowErrorMessageHwndRes(HWND window, UINT resID)
{
ShowErrorMessage(window, LangString(resID));
UString s = LangString(resID);
if (s.IsEmpty())
s.Add_UInt32(resID);
ShowErrorMessage(window, s);
}
void ShowErrorMessageRes(UINT resID)
{
ShowErrorMessageHwndRes(0, resID);
ShowErrorMessageHwndRes(NULL, resID);
}
static void ShowErrorMessageDWORD(HWND window, DWORD errorCode)

View File

@@ -1,16 +1,16 @@
// MyMessages.h
#ifndef __MY_MESSAGES_H
#define __MY_MESSAGES_H
#ifndef ZIP7_INC_MY_MESSAGES_H
#define ZIP7_INC_MY_MESSAGES_H
#include "../../../Common/MyString.h"
void ShowErrorMessage(HWND window, LPCWSTR message);
inline void ShowErrorMessage(LPCWSTR message) { ShowErrorMessage(0, message); }
inline void ShowErrorMessage(LPCWSTR message) { ShowErrorMessage(NULL, message); }
void ShowErrorMessageHwndRes(HWND window, UInt32 langID);
void ShowErrorMessageRes(UInt32 langID);
void ShowLastErrorMessage(HWND window = 0);
void ShowLastErrorMessage(HWND window = NULL);
#endif