On Thu, 24 Mar 2005 18:53:00 -0500, "xytho33" <>
declaimed the following in comp.lang.python:
> d=win32api.GetFileVersionInfo(fname, '\\')
> pywintypes.error: (1812, 'GetFileVersionInfo:GetFileVersionInfoSize', 'The
> specified image file did not contain a resource section.')
>
> Anybody know what this means, or more importantly, if there is a
> work-around?
>
Work around -- catch the exception...
What it means is that the file you gave the call does not have a
standard resource section... IE, the file doesn't have the "version
block" defined.
--
> ================================================== ============ <
> | Wulfraed Dennis Lee Bieber KD6MOG <
> | Bestiaria Support Staff <
> ================================================== ============ <
> Home Page: <http://www.dm.net/~wulfraed/> <
> Overflow Page: <http://wlfraed.home.netcom.com/> <