I have seen examples like this
MsWordApp comObj = this.factory.createObject(MsWordApp.class);
in other questions here on SO.
My problem is that I need to create an object like it is done in a vbscript example:
Set tdc = CreateObject("TDApiOle80.TDConnection")
In this Scenario the createObject would need to process a String, not a class. How can I translate this vbscript to Java / JNA ?