Re: File Version without GetFileVersionInfo
- From: "Yan K. Avlasov" <___ yavlasov at funk dot com ___>
- Date: Fri, 17 Jun 2005 15:13:53 -0400
I've never tried it...
but you can use FindResourceEx( RT_VERSION ) / LoadResource functions. I
think this will return a version block you can use with VerQueryValue
function.
Good luck.
<tnewton@xxxxxxxxx> wrote in message
news:1119024000.729273.128020@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> I want to add a function to my DLL to return its file version:
>
> Is there a way to retrieve the file version from the string table
> *without* calling GetFileVersionInfo()?
>
> or
>
> Is there a way to *set* the file version in the string table using
> another parameter (which I could then retrieve somehow else)?
>
> Thanks in advance,
> Terry
>
.
- Follow-Ups:
- Re: File Version without GetFileVersionInfo
- From: Joseph M . Newcomer
- Re: File Version without GetFileVersionInfo
- References:
- File Version without GetFileVersionInfo
- From: tnewton@xxxxxxxxx
- File Version without GetFileVersionInfo
- Prev by Date: Re: gethostname method fails
- Next by Date: Re: File Version without GetFileVersionInfo
- Previous by thread: Re: File Version without GetFileVersionInfo
- Next by thread: Re: File Version without GetFileVersionInfo
- Index(es):
Loading