[Mono-dev] InterOp problems with 1.2.6pre2

Prakash Punnoor prakash at punnoor.de
Fri Nov 30 14:31:14 EST 2007


On the day of Friday 30 November 2007 Robert Jordan hast written:
> Hi,
>
> Prakash Punnoor wrote:
> > Hi
> >
> > I am wondering whether this problem is not interesting anyone? In the
> > meanwhile I could pinpoint the troublemaker.
>
> well, we'd be interested but you did not post a reproducible
> test case.

Yes, I did, if you'd cared to fetch the sources and run the test code I 
mailed. Have you actually read the complete mail?

> > Basically it is a float[] field I declared in the struct Encoding
> > context:
>
> This doesn't look like a valid struct for p/invoke. Is this
> the real code?

Take a look at the sources... But yes, except that I omitted the inner structs 
and comments.

>
> Aften's context does not declare a float array at this position.

But it has a void* and to my understanding float[] can be marshalled to void*. 
It works with the methods, as well, which have void* as parameters.


-- 
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071130/33f5b42c/attachment.bin 


More information about the Mono-devel-list mailing list