just out of curiosity, how do I extract the dll version information without using windows explorer?



From: Earnie Boyd <earnie@users.sourceforge.net>
To: MinGW Users List <mingw-users@lists.sourceforge.net>
Sent: Saturday, January 28, 2012 6:48 AM
Subject: Re: [Mingw-users] pain to use _fseeki64(), giving link errors

On Sat, Jan 28, 2012 at 9:31 AM, Gisle Vanem <gvanem@broadpark.no> wrote:
> "Jim Michaels" <jmichae3@yahoo.com> wrote:
>
>> Sat 01/28/2012 1:33:02.56|C:\WINDOWS\system32|>\u\which msvcrt80.dll
>> msvcrt80.dll not found in (
>> C:\Program Files\PHP\
>
> A tool that checks along the %PATH and report what's not there is not
> so useful IMHO. Please try my 'envtool' program that reports where things
> are and where things shouldn't be. E.g. the output here:
>
> G:\MingW32\src\inet\dsniff-2.4b2> envtool --path msvcr9*.dll
>
> Tue Jul 29 07:05:08 2008 : f:\windows\system32\msvcr90.dll
> Tue Jul 29 07:05:08 2008 : f:\windows\system32\msvcr90d.dll
> Wed Nov 07 06:19:34 2007 : g:\MingW32\bin\CMake2.8\bin\msvcr90.dll
>
> You see, during installation of some packages, they add their '.\bin'
> first in the PATH. Thus potentially shadowing old DLLs for up-to-date
> system-dlls (and adding to the DLL-hell). That was the case with CMake
> above before I moved it's '.\bin' further up the PATH.
>

This is the prescribed method if your application is dependent on the
version of DLL.  A new version of the DLL may break your application.
So using a newer version of a DLL for an application that ships with
an older version isn't a good thing.  However, since the DLL actually
resides in the directory with the application it should be used
regardless of PATH as long as you don't delete the DLL.  The DLL-hell
is the reason for the implementation of manifest files.  You can also
create a directory foo.exe.local and store your DLL in that directory
that foo.exe depends on.

--
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe