Hi,
I have to pass ( Point ** ) type to a dll.
I have a java class Point extending Structure. I can not create a two diemsional array like
Point[][] pointArrayArry = new Point[r][c].
While r is known c keeps varying for every r. So, I declare
Point[][] pointArrayArry = new Point[r][].
In a loop from 0..r-1, I assign the coloumns. Essentially, the number of columns is different for each row. When I try to create
Argument plolygons = Argument.create ("Point **" , pointArrayArry ) ;
I get a TypesDifferentException: Non-homogenous array.
Pls suggest a solution.
Thanks,
ganesan