|
-
October 17th, 2001, 03:56 AM
#1
Dll Version
Hi,
Just a simple question :
I have developped a Dll in visual C++ 6 And I would to show the Dll Version in my About windows of my VB project.
So, What I search is an API to get the Dll version.
I tried to search in the french version of msdn without success.
Thanks in advance,
Laurent VOISIN.
-
October 17th, 2001, 04:25 AM
#2
Re: Dll Version
The following windows API calls would give you the version number of your DLL
GetFileVersionInfoSize()
GetFileVersionInfo()
Hope this helps
Hope this helps
-
October 22nd, 2001, 03:35 AM
#3
Re: Dll Version
Hi,
Thank you for response, it work fine.
I would like now to find the version of a Dll in memory.
The system information viewer show me the version of certain Dll, So I would like to know how it is done ?
Thank you in advance,
Laurent.
-
October 22nd, 2001, 10:11 AM
#4
Re: Dll Version
The only way I think you may be able to manage this is by getting the path to the dll from the list of dlls loaded by the process. However, I have no idea how easy this would be using VB. If you understand C++ then there is an article for finding which processes are locking a given DLL it should be possible to use this code to find which DLLs are loaded into memory and then get their path and filename to get the version.
http://codeguru.earthweb.com/dll/WhoSLocking.html
Hope this helps
Hope this helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|