[Mark Hammond]
> Update of /cvs-repository/Packages/Signals
> In directory cvs.zope.org:/tmp/cvs-serv23505
>
> Modified Files:
>      Tag: Zope-2_7-branch
>        WinSignalHandler.py
> Log Message:
> As at pywin32-204, we must ensure pywintypes is the first win32 module
> imported in our process, otherwise we can end up with 2 pywintypesxx.dll
> instances in our process resulting in:
> TypeError: The object is not a PySECURITY_ATTRIBUTES object

Mark, should Zope's nt_svcutils/service.py also be changed to import
pywintypes first?  Its import block looks like this now:

import sys, os, time, threading, signal
import win32api, win32event, win32file, win32pipe, win32process, win32security
import win32service, win32serviceutil, servicemanager
import pywintypes, winerror, win32con

I had "funny problems" getting the Windows ZRS installer to register
the ZRS service on older machines, primarily the

     python.exe - Entry Point Not Found

     The procedure entry point
     ?PyWinObject_AsDEVMODE@@YAHPAU_object@@PAPAU_devicemodeA@@[EMAIL 
PROTECTED] could
     not be located in the dynamic link library pywintypes23.dll

popup box on a machine with an older pywintypes23.dll in the system32 directory.
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to