-
jwalters committed patchset 158 of module akutan to the Portfolio Allocation/Simulation CVS repository, changing 9 files.
2009-06-13 03:30:53 UTC in Portfolio Allocation/Simulation
-
jwalters committed patchset 157 of module akutan to the Portfolio Allocation/Simulation CVS repository, changing 15 files.
2009-06-13 03:29:27 UTC in Portfolio Allocation/Simulation
-
jwalters committed patchset 156 of module akutan to the Portfolio Allocation/Simulation CVS repository, changing 2 files.
2009-06-09 02:47:14 UTC in Portfolio Allocation/Simulation
-
jwalters committed patchset 155 of module akutan to the Portfolio Allocation/Simulation CVS repository, changing 6 files.
2009-06-03 01:21:03 UTC in Portfolio Allocation/Simulation
-
jwalters committed patchset 154 of module akutan to the Portfolio Allocation/Simulation CVS repository, changing 4 files.
2009-06-03 01:20:25 UTC in Portfolio Allocation/Simulation
-
Managed to get it all figured out.
for c#
void print(string[] names)
the call from java is
SafeArray sArray = new SafeArray(Variant.VariantString, 2);
sArray.fromStringArray(new String[] { "Foo", "Bar" });
Variant vt = new Variant();
vt.putSafeArrayRef(sArray);
loader.call(loader, "print", vt);
Seems a bit cumbersome, but it works.
2009-04-16 20:18:08 UTC in JACOB - Java COM Bridge
-
This is the type of exception I'm getting. I've gotten different but similar ones depending if I try to pass a SafeArray through myself or let Jacob create one.
Exception in thread "main" com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: print
Description: Type mismatch.
at com.jacob.com.Dispatch.invokev(Native Method)
at...
2009-04-16 19:35:23 UTC in JACOB - Java COM Bridge
-
Seems I accidentily posted this in open Discussion first, so now I'll go the more appropriate help topic.
I have a C# object, interface is something like void print(string[] names) which is available via COM interop, but I am not sure how to pass the arguments from Java. I've tried many things and get core dump from the jacob JNI code, or else all sorts of type errors. What should I be doing...
2009-04-16 19:23:43 UTC in JACOB - Java COM Bridge
-
This is probably very simple. I'm trying to invoke a method on a C# implemented COM object where the interface takes an array of string. It works quite handle for a string, but when I switch to string[] I can't seem to get things to work and not sure if it's what I'm doing in Java or some registry/rebuild problem on the COM side.
Am I supposed to just pass an
new String[] { "Some...
2009-04-16 16:31:03 UTC in JACOB - Java COM Bridge
-
jwalters committed patchset 4 of module aawb to the Portfolio Allocation/Simulation CVS repository, changing 2 files.
2009-03-23 02:39:51 UTC in Portfolio Allocation/Simulation