DLL hell - Glade killed my applications

"clivel_bundu <[email protected]>" <[email protected]> Sat, 15 Feb 2003 20:56:51 -0000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
A few weeks ago, I download the latest development packages
from http://www.gimp.org/~tml/gimp/win32/, I installed everything
under a directory c:/gtk.2.2.0, and set my path to the bin and
lib subdirectories.
I have been writing a few simple applications to try out gtk and
have been very happy with it.
Last night, I decided to try out Glade. I downloaded glade-1.1.2.exe 
from  http://wingtk.sourceforge.net this is a self-installing exe.
After installing it, my applications stopped working.
After a bit of sleuthing, I discovered that it had unfortunately
installed the gtk dll's to the Windows\system32 directory. I
uninstalled Glade, but it did not remove the dlls. I deleted all
lib*.dll from the Windows\system32 directory, as well as the etc and
lib sudirectories, but I am obviously missing something, as my apps
will still not work. What could I have missed?

This leads me to the next suggestion, is it possible to have the
DLL name, match the file version. i.e libgtk-win32-2.0-0.dll
if I look at the properties, the file version is 2.2.0.2.
The libgtk-win32-2.0-0.dll installed with Glade is file version
2.0.6.14. Obviously this can cause problems. If one distributes an
application linked with one version of a DLL, it will break, if
someone installs an application linked with a different version.

There seems to be numberous GTK runtime installers floating around,
is it possible to have one "official" installer, which can be
downloaded or linked from www.gimp.org/~tml/gimp/win32/?
I also do not think that it is a good idea for the dll's to be
installed to the Windows\system32 directory, in my case, I have now
deleted most of the DLL's, but I must have missed something, there are
hundreds of files in Windows\system32, I would hate to now delete an
incorrect file by mistake.
Thanks,
Clive