зеркало из https://github.com/mono/mail-archives.git
126 строки
3.7 KiB
HTML
126 строки
3.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 647739] Marshal.PtrToStructure not working for a Structure with String or Byte Array
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20647739%5D%20Marshal.PtrToStructure%20not%20working%20for%20a%0A%20Structure%20with%20String%20or%20Byte%20Array&In-Reply-To=bug-647739-28286%40http.bugzilla.novell.com/">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="105117.html">
|
|
<LINK REL="Next" HREF="105540.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 647739] Marshal.PtrToStructure not working for a Structure with String or Byte Array</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20647739%5D%20Marshal.PtrToStructure%20not%20working%20for%20a%0A%20Structure%20with%20String%20or%20Byte%20Array&In-Reply-To=bug-647739-28286%40http.bugzilla.novell.com/"
|
|
TITLE="[Mono-bugs] [Bug 647739] Marshal.PtrToStructure not working for a Structure with String or Byte Array">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Fri Oct 22 09:10:23 EDT 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="105117.html">[Mono-bugs] [Bug 647739] New: Marshal.PtrToStructure not working for a Structure with String or Byte Array
|
|
</A></li>
|
|
<LI>Next message: <A HREF="105540.html">[Mono-bugs] [Bug 647739] Marshal.PtrToStructure not working for a Structure with String or Byte Array
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#105270">[ date ]</a>
|
|
<a href="thread.html#105270">[ thread ]</a>
|
|
<a href="subject.html#105270">[ subject ]</a>
|
|
<a href="author.html#105270">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=647739">https://bugzilla.novell.com/show_bug.cgi?id=647739</A>
|
|
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=647739#c1">https://bugzilla.novell.com/show_bug.cgi?id=647739#c1</A>
|
|
|
|
|
|
--- Comment #1 from Jochen Kühner <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">jochen.kuehner at gmx.de</A>> 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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="105117.html">[Mono-bugs] [Bug 647739] New: Marshal.PtrToStructure not working for a Structure with String or Byte Array
|
|
</A></li>
|
|
<LI>Next message: <A HREF="105540.html">[Mono-bugs] [Bug 647739] Marshal.PtrToStructure not working for a Structure with String or Byte Array
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#105270">[ date ]</a>
|
|
<a href="thread.html#105270">[ thread ]</a>
|
|
<a href="subject.html#105270">[ subject ]</a>
|
|
<a href="author.html#105270">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|