[Mono-bugs] [Bug 29548][Nor] Changed - Delegate/Callback defined in native code structure
25 Oct 2002 04:12:50 -0000
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 firstname.lastname@example.org.
--- shadow/29548 Thu Sep 12 06:51:25 2002
+++ shadow/29548.tmp.31770 Fri Oct 25 00:12:50 2002
@@ -1,22 +1,21 @@
OS Details: Windows XP, .NET Framework SDK, Mono from CVS (08/27/02)
Summary: Delegate/Callback defined in native code structure
Description of Problem:
Delegate/Callbacks functions to native code do not appear to register
properly when contained inside of a structure. I noticed the GTK# project
@@ -206,6 +205,28 @@
of the WNDCLASS are cleared or invalid when received in the
------- Additional Comments From email@example.com 2002-09-12 06:51 -------
I just commited a fix to marshall delegates inside structures.
+------- Additional Comments From firstname.lastname@example.org 2002-10-25 00:12 -------
+I am reopening this Bug - I emailed Paolo - I will now email Dietmar.
+On 12 Aug a bug fix was done to marshal.c to emit_str_to_ptr_conv –
+adding in support for MONO_MARSHAL_CONV_DEL_FTN (delegate).
+Im trying to implement a pinvoke callback in a struct in windows and I
+get mint and mono failing
+(in the case of mint: **ERROR** file marshal.c : line 624
+(emit_ptr_to_str_conv): should not be reached. Also – WARNING **
+marshaling conversion 21 not implemented.
+I looked this up and it is MONO_MARSHAL_CONV_DEL_FTN.
+Looking at the code Emit_ptr_to_str_conv doesn’t have support for
+The test given in this bug hasnt been fixed under windows, it gives
+the same error I am having.
+Dietmar - can you help? Afraid its beyond me!