title: OLE registration database access with Iron Python
body: <p>I am trying to extract an active object using comtypes module:</p>
  
  <pre><code>import comtypes.client as cc
  table = cc.GetActiveObject()
  </code></pre>
  
  <p>but its throwing an error saying that it needs at least one argument. I think its the OLE Registration database key but i am not sure how to extract it. Is there a way to look up currently registered applications and query their key/name so that i can get the active object? </p>
  
  <p>thanks! </p>