Windows Update Progress Bar Fail

If you have some progress you can use a progress bar to show this progress.

So, if you copy some files and have already copied about 60%, you may see something like this:

Progress bar showing copy progress of some files

Knowing this, what’s wrong with this image?

Indeterminate progress bar on download progress in Windows Update

Why the heck do I get an indeterminate progress bar for a download progress. Hell, there’s even a percentage displayed for the download.

Hunting DLL loading errors

Today I tried the software I’ve been writing on another computer – and it immediately crashed. I got this error message:

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ‘TrackerInterface-Mixed-Full.dll’ or one of its dependencies. The specified module could not be found.

Here, it tells me that my DLL “TrackerInterface-Mixed-Full.dll” could not be loaded. The first thing I thought was that the application couldn’t locate this DLL – because of the FileNotFoundException. Unfortunately this wasn’t the problem.

So I figured “or one of its dependencies” was the real problem. However, the error message doesn’t tell you what dependency (DLL) is actually missing – even when debugging.

So, I did some searching and found the Assembly Binding Log Viewer (or “Fusion Log Viewer”) which comes with Visual Studio. Unfortunately it didn’t do what I needed. It seems that this is actually more for .NET assemblies rather than native DLLs. (You need to run it with Adminstrator rights; otherwise it won’t work. Just in case you’ll ever need it.)

After some more searching I found a tool called Dependency Walker. And that’s exactly what did the trick. So I opened “TrackerInterface-Mixed-Full.dll” with it and got the following result:

Dependency Walker output with missing DLLs

Here you have my “TrackerInterface-Mixed-Full.dll” at the top of the tree and its dependencies listed below it. For one, you can see immediately that the file “QTCORED4.DLL” is missing. But you can also see that one dependency (“MAPPARSERD1.DLL”) is missing some dependencies as well. (Fortunately, Dependency Walker automatically expands all dependencies that again have missing dependencies.)

I hope this helps in case you’re running into this problem yourself.

Note: The part “The specified module could not be found.” of the error message indicates some missing DLLs. There can be other reasons for getting a “Could not load file or assembly ‘Assembly.dll’ or one of its dependencies.” which then have other texts after this one.

Note 2: This only seems to happen when using native DLLs from .NET applications/assemblies.

Schriftarten nur für Photoshop

Wer, wie ich, viel mit Photoshop arbeitet und damit Grafiken entwirft, der wird immer mal wieder auf die verschiedensten Schriftarten zurückgreifen. Häufig braucht man diese Schriftarten aber nur in Photoshop und nicht in Windows selbst. Für dieses Problem habe ich heute endlich eine Lösung gefunden:

Schriftarten, die nur in Photoshop (und anderen Adobe Produkten) zur Verfügung stehen sollen, kopiert man einfach in folgendes Verzeichnis:

%CommonProgramFiles%\\Adobe\\Fonts

Zwei nützliche Tools

Im Laufe der Jahre habe ich die Möglichkeit gehabt, viele verschiedene Tools, die im Internet so umherschwirren, zu testen. Heute werde ich einmal zwei von ihnen vorstellen. Der Vorteil an diesen Tools: Es sind die besten, die ich finden konnte – und sie sind kostenlos. Es handelt sich dabei um:

Read more →