title: python load windows COM interface
body: <p>I registered a C# COM interface dll
  Using
      "c:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe" /codebase StepsToEveConverter.dll</p>
  
  <p>Microsoft .NET Framework Assembly Registration Utility version 4.0.30319.34209
  for Microsoft .NET Framework version 4.0.30319.34209
  Copyright (C) Microsoft Corporation.  All rights reserved.</p>
  
  <pre><code>RegAsm : warning RA0000 : Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be i
  talled on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re
  egister it.
  Types registered successfully
  </code></pre>
  
  <p>I have installed python
  When I type python.exe at command prompt it shows:</p>
  
  <pre><code>Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:16:59) [MSC v.1900 32 bit (Intel)] on win32
  Type "copyright", "credits" or "license()" for more information.
  </code></pre>
  
  <p>The pyhon paths in my Eclipse tool
  <a href="https://i.stack.imgur.com/l2Xcb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l2Xcb.png" alt="enter image description here"></a></p>
  
  <p>To test COM functionality i used </p>
  
  <pre><code>w=win32com.client.Dispatch("Word.Application")
  w.Visible=1
  </code></pre>
  
  <p>Who opens Word as expected</p>
  
  <p>But when i try to use my COM dll StepsToEveConverter.dll i get </p>
  
  <pre><code>from comtypes.client import CreateObject
  eveConverter = CreateObject("StepsToEveConverter");
  </code></pre>
  
  <p>Gives error:</p>
  
  <pre><code>...
          _ole32.CoCreateInstance(byref(clsid), punkouter, clsctx, byref(iid), byref(p))
        File "_ctypes/callproc.c", line 945, in GetResult
      WindowsError: [Error -2147221164] Class not registered
  </code></pre>
  
  <p>In regedit.exe HKEY_CLASSES_ROOT i have the entry
  <a href="https://i.stack.imgur.com/QlbXe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QlbXe.png" alt="enter image description here"></a></p>