I have a very simple DLL which exposes a COM object SimpleATLComLib.SimpleCom.
I have correctly registered it in the registry and I succeeded to use it both in a C# project (I successfully added the reference to SimpleATLComLib) and in VBA, but I can't get it to work in python.
In C# I simply added the reference and wrote
using namespace SimpleATLComLib
in VBA
Dim x as SimpleATLComLib.SimpleCom
I tried to load it in python by using win32com.client
win32com.client.Dispatch("SimpleATLComLib.SimpleCom")
but I'm getting the following error
com_error: (-2147221005, 'Invalid class string', None, None)
How am I supposed to call it?