[Mono-list] Structure marshalling?

J. Perkins jason@379.com
Wed, 21 Aug 2002 09:44:20 -0400

What is the status of structure marshalling to unmanaged code?
I'm trying to hook up a legacy library, and it uses a callback
which passes a pointer to a structure.

    typedef void (*EventHandler)(Event*);

I got it working fine under .NET, but under Mono the struct
comes back with garbage. I could post some sample code, but
I wanted to make sure this wasn't a known issue first. I
didn't see anything in the bug db about it.