I used to have 2 versions of CANoe installed on my PC. 7.6 and 8.2. I tried to create object using comtypes API. It used to call 7.2 version of CANoe by default. Everything worked fine until I uninstalled 8.2 version of CANoe from the PC. Now it starts complaining Invalid class string error. Is it because I haven't uninstalled 8.2 version properly?
import comtypes.client
CANOE_COM_APPLICATION = "CANoe.Application"
app = comtypes.client.CreateObject(CANOE_COM_APPLICATION)
WindowsError: [Error -2147221005] Invalid class string