How to create a new COM object in Java using jinterop:
I want to create an object of COM class IDSSSearch in java using an object of type IDSSObjectInfo that I already have using the following code:
JIVariant searcher = sourceDispatch.callMethodA("newObject", new Object {
EnumDSSObjectType.DssTypeSearch,
0,
userRuntime});
My initial thought is using JIObjectFactory.buildObject(), but I am not sure how exactly to use it.
Thanks,
Deepti
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How to create a new COM object in Java using jinterop:
I want to create an object of COM class IDSSSearch in java using an object of type IDSSObjectInfo that I already have using the following code:
JIVariant searcher = sourceDispatch.callMethodA("newObject", new Object {
EnumDSSObjectType.DssTypeSearch,
0,
userRuntime});
My initial thought is using JIObjectFactory.buildObject(), but I am not sure how exactly to use it.
Thanks,
Deepti