[Mono-bugs] [Bug 647739] Marshal.PtrToStructure not working for a Structure with String or Byte Array

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 22 09:10:23 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=647739

https://bugzilla.novell.com/show_bug.cgi?id=647739#c1


--- Comment #1 from Jochen Kühner <jochen.kuehner at gmx.de> 2010-10-22 13:10:22 UTC ---
Found a Solution:

This is not supported:
  [MarshalAs(UnmanagedType.ByValArray, SizeConst = 7)]
    public byte[] reserved3;

But when i change the type to string it works!

But it's still a Bug!

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list