Advertisement
Guest User

Untitled

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