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


           Summary: Strange behavior with function pointers and delegates
                    with the embedding API
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: i386
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: Development


Created an attachment (id=196060)
 --> (https://bugzilla.novell.com/attachment.cgi?id=196060)
Test case

When I use Marshal.GetDelegateForFunctionPointer() with a function pointer I
passed via the embedding API, I get a NullReferenceException thrown. But, when
I manually use mono_ftnptr_to_delegate() without the internal call, it works
fine. 

I whipped together a very simple test case. I have class this afternoon, and
not much time, so please feel free to yell at me regarding code quality. :-P

Hope we figure this out..


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to