I wanted to pass on one of the methods that has helped in
the past, in debugging client server applications, in which you may have
several version of your dll. Making use of small utilities like WPS/Killer/Nuke
in determing the DLL that is lodaed at run time. This helps you to sometimes
sort of understand in which portion of your application, a problem occurs.
This becomes really useful when you distribute your software to users
not necessarily in the same location and on diverse platforms (w3.1,w95, nt and so on).
Sometimes a dump of the active dll’s helps you nail down the problem.