forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Extracting version info using @VERINFO() of a DLL

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Thu Sep 02, 2004 11:24 am    Post subject: Extracting version info using @VERINFO() of a DLL Reply with quote

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
View user's profile Send private message Send e-mail
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Thu Sep 02, 2004 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Thu Sep 02, 2004 6:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group