DLL Prob Win32com

Mark Hammond MHammond at skippinet.com.au
Fri Apr 9 20:26:02 EDT 1999


I would appreciate if you could confirm or deny the following (just so I can
get some data on this problem).

Check your Windows\System directory for pywintypes15.dll and
pythoncom15.dll.  Using Windows Explorer, view the properties of these
files, and there should be a "Version" tab.  Check the build number in the
version.

My guess is that the version is not the 124 version - for some reason the
installer neglected to overwrite the existing one.

If this is true, you can use winzip to open win32all-124.exe and extract the
files, and replace the ones in your system directory.  It should then work.

Please let me know either way if this was your problem?

Mark.

Bernhard Reiter wrote in message ...
>Get strange errors, when using PythonWin (win32all-124)
>with Python 1.5.2b2 or 1.5.2c1 on this Windows 95 machine here.
>The installprogram said that
> AXScript, Python Interpreter and Python Dictionary
>couldn't be registered. Should be registered manually.
>
>How can I do that?
>
>When importing COM stuff, I get:
>import pythoncom
>Traceback (innermost last):  File "<interactive input>", line 1,
>in ?ImportError:
>DLL load failed: A device attached to the system is not functioning.
>
>Reading documentation I know about possible old COM dlls as noted on
>http://starship.python.net/crew/mhammond/bigpond/Downloads.html
>but my error message seems to be different.
>
>That why I though I just ask again. :-)
>(Python.org is not reachable from here right now, so I cannot
>follow the link on Hammond's page to find out more about that DLLs.)
>Is it save to install them?
>
>
>Another thing:
>The example in the architecture.html file seems to be out of
>data. It should be:
> from pywin.mfc import dialog
>
>(it is just not nice, if beginners stumble over on of the first examples.)
>
>Regards,
> Bernhard






More information about the Python-list mailing list