| View previous topic :: View next topic |
| Author |
Message |
arcray Valued Contributor


Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Thu Sep 02, 2004 11:24 am Post subject: Extracting version info using @VERINFO() of a DLL |
|
|
Is it possible to extract version info from a DLL file using @VERINFO(). The help file says EXE files only, but I would like to do something like:-
| Code: |
list add, 8, Blowfish02.DLL Version: @VERINFO(@WINDIR(S)\BLOWFISH02.DLL)
list add, 8, TIMEDATE.DLL Version: @VERINFO(@WINDIR(S)\TIMEDATE.DLL)
list add, 8, VDSDB.DLL Version: @VERINFO(@WINDIR(S)\VDSDB.DLL)
list add, 8, VDSIPP.DLL Version: @VERINFO(@WINDIR(S)\VDSIPP.DLL)
list add, 8, VDSLISTS.DLL Version: @VERINFO(@WINDIR(S)\VDSLISTS.DLL)
list add, 8, VDSRUN30.DLL Version: @VERINFO(@WINDIR(S)\VDSRUN30.DLL)
list add, 8, VDSRUN40.DLL Version: @VERINFO(@WINDIR(S)\VDSRUN40.DLL)
list add, 8, VDSRUN50.DLL Version: @VERINFO(@WINDIR(S)\VDSRUN50.DLL)
list add, 8, VDSZIP.DLL Version: @VERINFO(@WINDIR(S)\VDSZIP.DLL)
|
The reason I am asking is that several machines (in the wild) with my application installed are running out of resources and I'd like to confirm which version of the the DLLs it uses, so that I can try and track down the cause...
Any pointers? _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
| Back to top |
|
 |
arcray Valued Contributor


Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Thu Sep 02, 2004 11:42 am Post subject: |
|
|
With further experimentation I have found that @VERINFO() needs the V, (otherwise it reports the 'T' rather than the 'V') and that the BLOWFISH02.DLL does not contain any version info.
The other DLLs report their correct version numbers... _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Sep 02, 2004 6:36 pm Post subject: |
|
|
Yes, DLL files can have the version info as you have seen, but not all DLL
files or even EXE files have the version info included in them. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|