OSDN Git Service

Updated FAQ document.
authorlordmulder <mulder2@gmx.de>
Sat, 12 Mar 2011 00:50:43 +0000 (01:50 +0100)
committerlordmulder <mulder2@gmx.de>
Sat, 12 Mar 2011 00:50:43 +0000 (01:50 +0100)
LameXP.rc
doc/FAQ.html
res/FolderIcon.ico [new file with mode: 0644]
src/Config.h
src/Global.cpp
src/Resource.h

index 5546e92..9adcef2 100644 (file)
--- 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
 /////////////////////////////////////////////////////////////////////////////
 
index c6cc4cd..3bb00c6 100644 (file)
@@ -259,7 +259,24 @@ thus a single encoder instance may create several threads - LameXP has no contro
 
 <br><br>
 
-<a name="8dba381f"><b>How can I translate LameXP to my language or improve an existing translation?</b></a><br>
+<a name="e7c9ae2b"><b>Why do I get the error 'Executable doesn't support Windows compatibility mode' on startup?</b></a><br>
+<br>
+LameXP was desigend to run on all supported platforms natively (except for Linux/Wine). If you see this error<br>
+message, that's probably because your system is configured to run LameXP in 'compatibbility mode', i.e. your<br>
+system will pretend an older OS version than is actually running. In Windows Explorer you can disable the<br>
+compatibility mode by right-clicking on the 'LameXP.exe' file, choosing 'Properties' from the context menu,<br>
+switching to the 'Compatibility' tab and un-checking the 'Run this program in compatibility mode' option.<br><br>
+
+<br><br>
+
+<a name="328b0a18"><b>Why do I get the error 'Executable requires Windows 2000 or later' on startup?</b></a><br>
+<br>
+You are trying to run LameXP on a platform that is NOT supported, such as Windows 95, Windows 98 or Windows<br>
+Millenium Edition. This can also happen, if your system is configured to run LameXP in <a href="#e7c9ae2b">compatibility mode</a>.<br><br>
+
+<br><br>
+
+<a name="f35cfa24"><b>How can I translate LameXP to my language or improve an existing translation?</b></a><br>
 <br>
 Please see the guide for translators at:<br><ul>
 <li><a href="http://mulder.brhack.net/public/doc/lamexp_translate.html" target="_blank">http://mulder.brhack.net/public/doc/lamexp_translate.html</a></ul>
diff --git a/res/FolderIcon.ico b/res/FolderIcon.ico
new file mode 100644 (file)
index 0000000..1986a00
Binary files /dev/null and b/res/FolderIcon.ico differ
index b29b7ff..c8d618e 100644 (file)
@@ -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
 
 /*
index 58d39cb..73a480d 100644 (file)
@@ -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;
index f0c2c47..a2379d9 100644 (file)
@@ -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