How to use COM from python win32com or comtypes to access an IRTDServer?
问题 Environment Windows 10 + python 3.6.3 64 bit (also tried 32 bit). I am a python developer trying to use COM for (nearly) the first time and hit this huge blocker. Problem I have had various errors when trying to use an IRTDServer implemented in a dll (not written by me), via either win32com or comtypes . Using win32com turned out to be more difficult. I have an included an example unittest for both libraries below. Accessing the server from Excel 2016 works as expected; this returns the