win32 extension installation problem

Mark Hammond MarkH at ActiveState.com
Mon Jun 25 23:36:56 EDT 2001


zihonglu wrote:

> Thanks for your reply.  I have tried changing the version in Python21.dll to
> "MyPython21", changing registry version accordingly, and put the file back
> to c:\winnt\system32 directory, manually put win32 extension files under the
> python directory.  It worked.


You should definitately _not_ put this modified DLL in the system 
directory, as this will, by definition, override any system installed 
Python.

> However, since the Python21.dll has been changed, I wanted it to be located
> in c:\MySoftware\Python to prevent being accidentally overwritten .  As far
> as python is concerned, it seems to work fine.  I could register the
> PythonService.exe as well.  However, I can't start my python service.  The
> problem went away as soon as I put the modified Python21.dll back to the
> system32 directory.  I vaguely remember I have the same problem with
> PyWinTypes.dll. Any solution?

Hrm.  Try moving "pythonservice.exe" into the same dir as the modified DLL.

Mark.




More information about the Python-list mailing list