diff --git a/LameXP.rc b/LameXP.rc index 5546e921..9adcef2e 100644 --- a/LameXP.rc +++ b/LameXP.rc @@ -120,6 +120,7 @@ IDR_WAVE_WOOHOO WAVE "res\\sounds\\woohoo.wav" // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_ICON1 ICON "res\\MainIcon.ico" +IDI_ICON2 ICON "res\\FolderIcon.ico" #endif // German (Germany) resources ///////////////////////////////////////////////////////////////////////////// diff --git a/doc/FAQ.html b/doc/FAQ.html index c6cc4cdd..3bb00c6e 100644 --- a/doc/FAQ.html +++ b/doc/FAQ.html @@ -259,7 +259,24 @@ thus a single encoder instance may create several threads - LameXP has no contro

-How can I translate LameXP to my language or improve an existing translation?
+Why do I get the error 'Executable doesn't support Windows compatibility mode' on startup?
+
+LameXP was desigend to run on all supported platforms natively (except for Linux/Wine). If you see this error
+message, that's probably because your system is configured to run LameXP in 'compatibbility mode', i.e. your
+system will pretend an older OS version than is actually running. In Windows Explorer you can disable the
+compatibility mode by right-clicking on the 'LameXP.exe' file, choosing 'Properties' from the context menu,
+switching to the 'Compatibility' tab and un-checking the 'Run this program in compatibility mode' option.

+ +

+ +Why do I get the error 'Executable requires Windows 2000 or later' on startup?
+
+You are trying to run LameXP on a platform that is NOT supported, such as Windows 95, Windows 98 or Windows
+Millenium Edition. This can also happen, if your system is configured to run LameXP in compatibility mode.

+ +

+ +How can I translate LameXP to my language or improve an existing translation?

Please see the guide for translators at:
diff --git a/res/FolderIcon.ico b/res/FolderIcon.ico new file mode 100644 index 00000000..1986a00f Binary files /dev/null and b/res/FolderIcon.ico differ diff --git a/src/Config.h b/src/Config.h index b29b7ff0..c8d618ea 100644 --- a/src/Config.h +++ b/src/Config.h @@ -25,7 +25,7 @@ #define VER_LAMEXP_MAJOR 4 #define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_LO 1 -#define VER_LAMEXP_BUILD 363 +#define VER_LAMEXP_BUILD 366 #define VER_LAMEXP_SUFFIX Beta-8 /* diff --git a/src/Global.cpp b/src/Global.cpp index 58d39cbb..73a480dd 100644 --- a/src/Global.cpp +++ b/src/Global.cpp @@ -262,9 +262,11 @@ const QDate &lamexp_version_date(void) void lamexp_message_handler(QtMsgType type, const char *msg) { static HANDLE hConsole = NULL; - QMutexLocker lock(&g_lamexp_message_mutex); + static const char *GURU_MEDITATION = "\n\nGURU MEDITATION !!!\n\n"; const char *buffer = NULL, *text = msg; char temp[1024]; + + QMutexLocker lock(&g_lamexp_message_mutex); if(!strncmp(msg, "@BASE64@", 8)) { @@ -296,6 +298,7 @@ void lamexp_message_handler(QtMsgType type, const char *msg) fflush(stdout); fflush(stderr); SetConsoleTextAttribute(hConsole, FOREGROUND_RED | FOREGROUND_INTENSITY); + WriteFile(hConsole, GURU_MEDITATION, strlen(GURU_MEDITATION), NULL, NULL); WriteFile(hConsole, temp, len, NULL, NULL); FlushFileBuffers(hConsole); break; diff --git a/src/Resource.h b/src/Resource.h index f0c2c476..a2379d9d 100644 --- a/src/Resource.h +++ b/src/Resource.h @@ -25,6 +25,7 @@ * Resource ID's */ #define IDI_ICON1 106 +#define IDI_ICON2 107 #define IDR_WAVE_ABOUT 666 #define IDR_WAVE_SUCCESS 667 #define IDR_WAVE_ERROR 668