Win32 Service fails to start with Error 1: Incorrect function when using...
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
Hello. I've attempted to create a Win32 Service using the library but I get an error when trying to start the service with python <filename>.py start
or via the SCM. The python <filename>.py install
command and the python <filename>.py start
always succeed regardless of version. If I use the previous version the service installs, starts and works as expected. Using latest version of Python 2.7.10 x64 in Windows 7 N Pro x64.
The
python <filename>.py install
command and thepython <filename>.py start
always succeed regardless of version. => The python<filename>.py install command
and thesc.exe delete <service_name>
always succeed regardless of the pywin32 version used.I don't really know why but when installing via wheels (using virtualenvs) by using pywin32-Build 219 of Christoph Gohlke it installs correctly and properly. Otherwise I'm facing the referred issue. In addition, sometimes the win32com does not register properly when using the installer but that is another issue.
You may close this if you want but I can send you more information if required :)
P.S.: Really, the exe installer is sometimes buggy although your library is superb! :)
Thanks, in any case :D