-
Can we try this code in our labs or do we need any hardware ? Can you make a small test sample for us (complete and contained in all aspects) ?
best regards,
Vikram.
2010-01-08 16:44:41 UTC in j-Interop : Java - COM Interoperability
-
Hi,
The code is correct but COM is returning an exception back 0x80042401. The thing is even if we get an exception back this arrayindex exception should not happen. When I looked at the log file it returned the exception directly, this is unusual since it always returns the parameters (NULL in case of exception) and then the Exception. But in your case the exception comes directly. Are...
2010-01-08 13:23:47 UTC in j-Interop : Java - COM Interoperability
-
Hi,
Please show me the code here.
best regards,
Vikram.
2010-01-08 10:17:52 UTC in j-Interop : Java - COM Interoperability
-
You know, it is a pointer to pointer, I think the [out] param should be
callBuilder.addOutParamAsType(new JIPointer(IJIComObject.class,false),JIFlags.FLAG_NULL);
Try this if it does not work , dump the log file here at FINEST level.
best regards,
Vikram.
2010-01-08 09:12:09 UTC in j-Interop : Java - COM Interoperability
-
hmm, now this should not have happened ... could you show me the log file at FINEST log level ?.
2010-01-08 08:21:16 UTC in j-Interop : Java - COM Interoperability
-
Hi,
Use IJIComObject instead of Object in callBuilder.addOutParamAsType(Object.class, JIFlags.FLAG_NULL);
best regards,
Vikram.
2010-01-08 07:01:14 UTC in j-Interop : Java - COM Interoperability
-
Hi,
The opnum is 5. Did you try to use it ? And please show the stack trace in case you do receive an exception after this as well.
thanks,
best regards,
Vikram.
2010-01-08 06:21:37 UTC in j-Interop : Java - COM Interoperability
-
Hi,
Can I see the IDL ? I don't think the parameter is an issue, I think the opnum is wrong and it is calling a different method. From what I could gather , it should be opnum 5. (http://msdn.microsoft.com/en-us/library/aa382518(VS.85).aspx) . Methods start from 0 onwards.
thanks,
best regards,
Vikram.
2010-01-08 05:34:34 UTC in j-Interop : Java - COM Interoperability
-
Hi,
Yes if the user is local otherwise the domain ( as an example "corp.contoso.com") .
best regards,
Vikram.
2010-01-08 01:11:07 UTC in j-Interop : Java - COM Interoperability
-
Are you passing "WORKGROUP" as your domain ? If this is on your localhost , just pass "localhost" or the IP of your machine.
best regards,
Vikram.
2010-01-08 01:06:03 UTC in j-Interop : Java - COM Interoperability