Re: Can Jawin return anything back up through an argument list ?
Roger I Martin PhD <[email protected]>
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Pedro Alves wrote:
>eg:
>
>call SomeFuncionThatReturnsNothing(par1, par2, ret1, ret2);
>
>
if ret1 and ret2 are pointers and they require you to create them first
their values can be returned. As I have experimented and looked at
marshaling if the COM side needs to create these then the java side does
not get them back(unless someone else fixed this)
If pointers, the java call would be for example
<>int par1=0;
int par2=1;
int[] ret1=new int[1];
int[] ret2=new int[1];
<>SomeFuncionThatReturnsNothing(par1, par2, ret1, ret2);
System.out.println("ret1="+ret1[0]);
>
>How do I do this in jawin?
>
>
>Thanks
>
>
>--
>Pedro Alves
>[email protected]
>
>
>