Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Oct : File version

www.cryer.info
Managed Newsgroup Archive

File version

Subject:File version
Posted by:"Slava Rivkin" (sla..@radarsync.com)
Date:Thu, 20 Oct 2005 02:10:20

Very interesting issue I encountered: trying to extract file version out of
an executable file.
Now - it looks to be rather easy (using GetFileVersionInfo() and
VerQueryValue() ), but there is a catch - it doesn't work with digitally
signed files, such as skype or others. It simply returns an empty string, as
if there was no version record.
Now - it's there, as explorer can extract it (properties window)

Anyone has an idea about it??
I promise to give $100 to your favorite charity, if you give me a good idea
on how to solve it.

Replies:

www.cryer.info
Managed Newsgroup Archive