I'm working with JIntegra java com bridge.
I have an object of type Object which true coclass is unknown.
I need to check if that object can be casted to specific COM interface (which has a proxy class generated by JIntegra).
Call queryInterface() on the proxy. It should throw an exception if the underlying COM object does not implement the proxy interface.
0
votes
If the proxy class implements a (generated) interface, can you check if the object is an instanceof that?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more