Previous Thread
Next Thread
Print Thread
Page 58 of 331 1 2 56 57 58 59 60 330 331
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Only by applying this patch (with "patch -p0 < patch.txt"):

Code
Index: qmc2main.cpp
===================================================================
--- qmc2main.cpp        (revision 2972)
+++ qmc2main.cpp        (working copy)
@@ -406,6 +406,8 @@
 
   setupUi(this);
 
+  tabWidgetLogsAndEmulators->removeTab(tabAudioPlayer);
+
   // save splitter widgets at index 0 for later comparison
   hSplitterWidget0 = hSplitter->widget(0);
   vSplitterWidget0 = vSplitter->widget(0);


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Very Senior Member
A Offline
Joined: Jul 2007
Posts: 4,625
Thanks, I will try. smile

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
I'm not sure if that works on Windows, though, since the code is "UNIX-formatted" (different line-endings than WinDOS). Otherwise edit qmc2main.cpp with a capable editor and add "tabWidgetLogsAndEmulators->removeTab(tabAudioPlayer);" on line 408.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Very Senior Member
A Offline
Joined: Jul 2007
Posts: 4,625
Originally Posted by qmc2
I'm not sure if that works on Windows, though, since the code is "UNIX-formatted" (different line-endings than WinDOS). Otherwise edit qmc2main.cpp with a capable editor and add "tabWidgetLogsAndEmulators->removeTab(tabAudioPlayer);" on line 408.

I tried the 2 possibilities but I`m not able to compile the qmc2main.o
Of course, I made a clean up before.

Modification by hand:

[Linked Image from img715.imageshack.us]

Without the modified line 408 I have no problems to compile it.
So I think, either something is wrong on the line 408 or something is still missing.

Patch:

[Linked Image from img850.imageshack.us]

Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Very Senior Member
A Offline
Joined: Jul 2007
Posts: 4,625
Originally Posted by qmc2
I took a deeper look with "Dependency Walker" (http://www.dependencywalker.com/)... all modules are dependent on msvcrt.dll, not only SDL. So if this DLL is the culprit, anything can happen.

The only ways I see to get around this is to either a) somehow update that DLL (seems impossible as the version you have is the newest 'official' one from XP SP3, AFAICT), b) get rid of its use as a dependency (that's something which is controlled by the mingw-mame package) or c) install a better OS smile.

As long as I have no clue what could be triggering this on XP I can't fix it anyway, but I'm pretty sure it's not caused by a bug in my code.

(PS: in case you want to use "Dependency Walker", make sure you're starting it with the same environment settings used to build QMC2!)

Dependency Walker is not so WinXP friendly smile

No matter which files I've loaded, Dependency Walker always show me that the IESHIMS.DLL WER.DLL files are missing.

[Linked Image from img849.imageshack.us]

IESHIMS.DLL is an artefact of Vista/7 where a shim DLL is used to proxy certain calls (such as CreateProcess) to handle protected mode IE, which doesn't exist on XP, so it is unnecessary. WER.DLL is related to Windows Error Reporting and again is probably unused on Windows XP which has a slightly different error reporting system than Vista and above.


Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Regarding the patch... sorry, here's the correct one smile :

Code
Index: qmc2main.cpp
===================================================================
--- qmc2main.cpp        (revision 2972)
+++ qmc2main.cpp        (working copy)
@@ -406,6 +406,8 @@
 
   setupUi(this);
 
+  tabWidgetLogsAndEmulators->removeTab(tabWidgetLogsAndEmulators->indexOf(tabAudioPlayer));
+
   // save splitter widgets at index 0 for later comparison
   hSplitterWidget0 = hSplitter->widget(0);
   vSplitterWidget0 = vSplitter->widget(0);
Regarding Dependency Walker... that's not a real problem as long as the DLLs are not required. But some other module says it may need it. So DP is not wrong.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Very Senior Member
A Offline
Joined: Jul 2007
Posts: 4,625
1.) I think its enough to edit the line 408 on qmc2main.cpp by hand.

tabWidgetLogsAndEmulators->removeTab(tabWidgetLogsAndEmulators->indexOf(tabAudioPlayer));

2.) Maybe Dependency Walker is not wrong but confused for the XP user.

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
To confuse you even more, I get the same "error" for IESHIMS.DLL, but not the one for WER.DLL, though I'm on Windows 7.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 4,625
A
Very Senior Member
Very Senior Member
A Offline
Joined: Jul 2007
Posts: 4,625
It�s time for you to buy the original Windows 7. ; )

Just a joke. smile

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted by Anna Wu
Just a joke. smile
It's time to go back to the real thing... and that's Linux in my case smile!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Page 58 of 331 1 2 56 57 58 59 60 330 331

Link Copied to Clipboard
Who's Online Now
0 members (), 628 guests, and 6 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,399
Posts122,883
Members5,092
Most Online3,327
Nov 10th, 2025
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0