Share

JACOB - Java COM Bridge

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

How pass an array?

You are viewing a single message from this topic. View all messages.

  1. 2009-04-16 16:31:03 UTC
    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 Stuff" } as the argument? A quick look at the 1.14.3 source code which is the version I'm using looks like Jacob should do all the marshaling into variants and safe arrays.

    Jay
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.