1 // MyMessages.h 2 3 #ifndef __MY_MESSAGES_H 4 #define __MY_MESSAGES_H 5 6 #include "../../../Common/MyString.h" 7 8 void ShowErrorMessage(HWND window, LPCWSTR message); ShowErrorMessage(LPCWSTR message)9inline void ShowErrorMessage(LPCWSTR message) { ShowErrorMessage(0, message); } 10 11 void ShowErrorMessageHwndRes(HWND window, UInt32 langID); 12 void ShowErrorMessageRes(UInt32 langID); 13 14 void ShowLastErrorMessage(HWND window = 0); 15 16 #endif 17