COM problem .py versus .exe

Tim G tim.golden at viacom-outdoor.co.uk
Wed Jun 29 15:08:09 EDT 2005


Greg Miller wrote:
> I tried the code snippet using win32api.GetFileVersionInfo(), what I
> get now is the following when running on the executable machine:
>
> . . . FileFlagsMask => 63
> FileType => 2
> FileVersionMS => 65536
> FileVersionLS => 1
> Signature => -17890115
> FileSubtype => 0
> FileFlags => 0
> ProductVersionLS => 1
> FileDate => None
> ProductVersionMS => 65536
> FileOS => 4
> StrucVersion => 65536

> I can't find too much on the 'net about these output values.

>From the pywin32 help entry for GetFileVersionInfo:

"Information to return: \\ for VS_FIXEDFILEINFO"

Google for VS_FIXEDFILEINFO and hit "I'm Feeling Lucky". You've
still got to work out how to piece the values together, but I'm
sure you're just as capable of doing that as I am. (And probably
more so).

TJG




More information about the Python-list mailing list