|
环境为windows10, python 3.6 32位系统,在另1台win7上可以正常调用。
Traceback (most recent call last):
File "test.py", line 3, in <module>
lw = client.CreateObject("lw.lwsoft3")
File "C:\Users\dell\AppData\Local\Programs\Python\Python35-32\lib\site-packages\comtypes\client\__init__.py", line 227, in CreateObject
clsid = comtypes.GUID.from_progid(progid)
File "C:\Users\dell\AppData\Local\Programs\Python\Python35-32\lib\site-packages\comtypes\GUID.py", line 78, in from_progid
_CLSIDFromProgID(str(progid), byref(inst))
File "_ctypes/callproc.c", line 920, in GetResult
OSError: [WinError -2147221005] 无效的类字符串
|
|