Page 1 of 1

Get Product Version of a DLL

Posted: Thu Mar 14, 2013 6:24 pm
by Obliterator
Is there any way to retrieve the ProductVersion of a DLL (rather than the FileVersion) in IA?
I'm working with some third-party DLLs. It seems they update the product version field but not the file version fields!

I suspect I'm going to have to roll my own IA DLL basically wrapping the FileVersionInfo APIs...
Just hoping, such functionality/addin is already available somewhere and I've missed it!

Re: Get Product Version of a DLL

Posted: Fri Mar 15, 2013 11:25 am
by FrancescoT
Dear User,

unfortunately, you can retrive these information only using the WINAPI functions exported by the "Version" library.

More info about the library can be found at the following link;
http://msdn.microsoft.com/en-us/library/ms646981.aspx

Regards.

Re: Get Product Version of a DLL

Posted: Fri Mar 15, 2013 11:49 am
by Obliterator
Thanks, I suspected as much. I'll write a wrapper for that API for my setup and call that instead.
Cheers