> <snip the fourth and hopefully last repost> Do you actually think anybody will reply to your mail if you keep reposting at this frequency? It'll rather make most people here kill-file you.
One post is enough; we've seen your problem, and it seems as though nobody here has a better solution than what Dennis Lee Bieber has already offered. Just to make sure you understand what he said, I'll repeat it here: Your DLL doesn't contain a resources section, which in turn contains the version information you're asking for. So, please start reading MSDN and the VC++ documentation on how to add this information to your DLL. If you wish to catch the exception that's raised (because the resource block isn't present), use something like the following: try: d = win32api.GetFileVersionInfo(fname,r"\") except: d = None if d is None: print "No version info in file!" else: <do something with the version info> -- --- Heiko.
pgpcvIOsraTHA.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list