<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.8.1">
</HEAD>
<BODY>
On Thu, 2006-30-03 at 15:55 +0200, Alan McKinnon wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">In RealLife(tm) MS dlls are not versioned like ours are, so an app has </FONT>
<FONT COLOR="#000000">no easy way of knowing which version is installed.</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
It might help avoid future embarrassment if you learned the technology you bashed.  Here's a random URL from Googling "DLL Version": <A HREF="http://www.codeproject.com/file/fileversioninfo.asp">http://www.codeproject.com/file/fileversioninfo.asp</A><BR>
<BR>
Note the APIs referenced there:<BR>
<TT>- GetFileVersionInfo()</TT><BR>
<TT>- GetFileVersioninfoSize()</TT><BR>
<TT>- VerQueryValue</TT><BR>
<BR>
So, you're absolutely right.  There's no way for an app to know which version of a DLL is installed.  If it is written by a dullard.
</BODY>
</HTML>