[Mono-bugs] [Bug 64231][Nor] Changed - [Embedding Mono] Accessing fields of structs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 31 Aug 2004 12:31:29 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by priewasser@gmx.at.

http://bugzilla.ximian.com/show_bug.cgi?id=64231

--- shadow/64231	2004-08-30 20:05:35.000000000 -0400
+++ shadow/64231.tmp.32376	2004-08-31 12:31:29.000000000 -0400
@@ -98,6 +98,16 @@
 
 [in object.h]
 
 NB: if you want to access fields from unmanaged, using a sequential
 type is the best way to do it. That way you can access stuff with ->
 in C, which is much cleaner than method calls.
+
+------- Additional Comments From priewasser@gmx.at  2004-08-31 12:31 -------
+I'm using (must use) reflection to find the fields of a struct, so I 
+can't find the correct declaration order (if the .Net 2.0 Beta 
+documentation is correct - or have I missed something?). 
+Because of that I use mono_object_new to create C# structs and need to 
+use a method to access the fields of the struct. But till now I know 
+no clean way to access those fields.
+(If you could post a little program which would do the same then T.c 
+it might help)