title: Dispatch CANoe using python COM
body: <p>I'm trying to open CANoe application using python win32com, but i'm getting the following error</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\20044033\Desktop\test.py", line 2, in &lt;module&gt;
     xl = win32com.client.Dispatch ('CANoe.Application')
    File "C:\Python27\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch
  dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
    File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 114, in _GetGoodDispatchAndUserName
  return (_GetGoodDispatch(IDispatch, clsctx), userName)
    File "C:\Python27\lib\site-packages\win32com\client\dynamic.py", line 91, in _GetGoodDispatch
  IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.IID_IDispatch)
  com_error: (-2147221005, 'Invalid class string', None, None)
  </code></pre>
  
  <p><strong>com_error: (-2147221005, 'Invalid class string', None, None)</strong></p>
  
  <p>Whereas no such error for other applications like excel.
  From other stackoverflow answers i understood that only COM registered applications can be accessed.</p>
  
  <p>How to add CANoe into the list of registered COM objects?</p>