Hello,<br><br>SUMMARY:<br>libdbus-1.dll was causing errors in all kde applications, until I ran &#39;emerge dbus-src&#39;, which fixed it, I think.<br><br>DETAIL:<br>I&#39;ve been building kde applications with emerge.&nbsp; All the applications built (at least, the ones I tried to run) would cause a &quot;Runtime Error!&quot; [1] dialog to pop up.&nbsp; Once I clicked ok on the dialog, the application would be terminated.
<br>By moving a &quot;while (1) ;&quot; loop around in the code I finally determined that the problem was caused in or below the function dbus_bus_get_private() in libdbus-1.dll.&nbsp; Unfortunately I couldn&#39;t find the source code for this dll on my machine so I couldn&#39;t dig any deeper.&nbsp; I found the target &quot;dbus-src&quot; in emerge\portage... and decided to try it.&nbsp; And the problem went away!&nbsp; (Note: I only tried kpercentage and kstars.)&nbsp; This was last night.
<br>Decided to verify this overnight, since I had messed around in the code so much, so I did:<br>- deleted EVERYTHING KDE-RELATED EXCEPT my %KDEROOT%\etc\kdesettings.bat<br>- checked out latest emerge with svn<br>- ran &#39;emerge mingw&#39; to get the compiler tools
<br>- verified that mingw was in my %PATH%<br>- ran &#39;emerge kdeedu&#39; (overnight)<br>- tried kpercentage.exe - it still caused the &quot;Runtime Error!&quot;<br>- ran &#39;emerge dbus-src&#39;<br>- tried kpercentage.exe
 - showed a splash screen, did nothing for a while, then I got a &quot;not responding&quot; dialog from Windows :(&nbsp; [I&#39;m certain this was working last night]<br>- tried kstars.exe - works!<br><br>COMMENTS:<br>I don&#39;t know where the bad 
libdbus-1.dll came from, but I&#39;m pretty sure the source code wasn&#39;t on my machine until I ran &#39;emerge dbus-src&#39;.&nbsp; I think somebody smart should fix this problem.<br>As far as I know, I&#39;m the only one having this problem.
<br>I don&#39;t know why kpercentage.exe is broken this morning, but it&#39;s broken in a different way than before.<br>Although to verify I ran &#39;emerge kdeedu&#39; right away, before I first did &#39;emerge qt&#39; then &#39;emerge kdesdk&#39; then &#39;emerge kdeedu&#39; - and the problem was still there.
<br><br>NOTES:<br>[1] &quot;Runtime Error!&quot; dialog details:<br>Title:<br>&nbsp;&nbsp;&nbsp; Microsoft Visual C++ Runtime Library<br>Text:<br>&nbsp;&nbsp;&nbsp; Runtime Error!<br>&nbsp;&nbsp;&nbsp; Program: c:\kderoot\bin\&lt;whatever_kde_app&gt;.exe<br>&nbsp;&nbsp;&nbsp; This application has requested the Runtime to terminate it in an unusual way.
<br>
&nbsp;&nbsp;&nbsp; Please contact the application&#39;s support team for more information.<br>It has an &quot;Ok&quot; button only.<br><br><br>Thanks to #kde-windows on irc and especially SaroEngels for the help on this.<br><br>Clint<br>
<br>