I am using win32com in python to access a native C++ COM dll. \n\nI registered my COM component (SysWOW64/regsvr32 my.dll) and called makepy.py -i. In .py-code, I got the module and an instance from the class I need.\n\nNow when calling a method from this object I get an error in the auto-generated file from makepy:\nMy function got enumerated, and in the generated file, there is the following statement:\n\ndef MyFunction(self):\n 'method MyFunction'\n return self._oleobj_.InvokeTypes(14, LCID, 1, (24, 0), (),)\n\nSo this is calling the actual COM method. But it fails:\n\npywintypes.com_error: (-2147319779, 'Library not registered.', None, None)\n\nDo I need an additional registration? \ncombrowse.py shows my object and the windows registry is okay.\n\nHow should my dll be registered to be called by invoke?