DLL info

Syver Enstad syver at inout.no
Thu Sep 18 07:20:10 EDT 2003


"Ladvánszky Károly" <lk at digicart.hu> writes:

> Could someone suggest me how to gather various information (version number
> etc.) from a Windows DLL?
> Thanks for any help,

I looked at win32 all but it seems the functions aren't exposed
there. Grap ctypes by Thomas Heller and the MSDN Platform SDK
documenation. 

Here's what you need:


from ctypes import *
windll.version.GetFileVersionInfoA

Or:
windll.version.GetFileVersionInfoW





More information about the Python-list mailing list