py2exe win32all: Can write, but not read FileVersion ...
Thomas Heller
theller at python.net
Fri Mar 12 12:05:21 EST 2004
[about version resources created by py2exe]
"Roger Upole" <rupole at hotmail.com> writes:
> The language and codepage are getting reversed in the resource created.
> If you switch them in the call to GetFileVersionInfo, everything shows up.
> Roger
Cool. So it seems this fix to py2exe\resources\VersionInfo.py makes
everything fine: Replace this line
VarFileInfo(0x040904B0)])
with this:
VarFileInfo(0x04B00409)])
Thanks, Thomas
More information about the Python-list
mailing list