deepti - 2010-10-08

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