Hi, I'm facing problem in using WEAP <http://www.weap21.org> API in python. I have installed WEAP correctly and have a 3.4.3 version python and also PythonWin (all of them are 32-bit). I'm not sure why this is happening.
Here is the error message: >>> w = 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) Thanks for cooperation :) Sincerely, Kasra Keshavarz
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32