Re: File Version without GetFileVersionInfo



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
>


.


Loading