got a problem using the com4j Framework (https://com4j.dev.java.net/).
Basically itÂ´s works fine, but it does not work to pass complex datatypes to a com interface. There is an interface, which needs the instance of special class as an argument. First an IllegalArgumentException has been throwed caused by the fact, that the passed argument was not a proxy instance. So I tried to work around and created this argument as a proxy instance.
But now, I get a cast exception. Oviously the com4j Framework tries to cast the argument to the class "Wrapper". Actual it is not a subclass of "Wrapper", the class "Wrapper" is final !
I donÂ´t know, why com4j is doing that. In my opinion com4j only has to marshal the complex datatype correctly to establish the com interoperation.
So, please help me out or explain me, what IÂ´m misdoing.
Thank you and Best regards.