Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> WEAP = win32com.client.Dispatch('WEAP.WEAPApplication')
- Traceback (most recent call last):
- File "<interactive input>", line 1, in <module>
- File "C:\Python34\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
- dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
- File "C:\Python34\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
- return (_GetGoodDispatch(IDispatch, clsctx), userName)
- File "C:\Python34\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
- IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
- pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement