Pau*_*han 1 python windows interop pywin32
我正在构建 Python 服务。我正在引发此错误,但我不确定是什么引发了它。
PS C:\...> python .\file.py debug
Debugging service MYSERVICE - press Ctrl+C to stop.
Error 0xC00000F4 - Could not find the service's PythonClass entry in the registry
Error 1814 - The specified resource name cannot be found in the image file.
Error 0xC0000080 - Could not locate the module name in the Python class string (ie, no '.')
Run Code Online (Sandbox Code Playgroud)
此错误来自 PythonWin32 中的 PythonServiceMessages.mc。