[Mono-bugs] [Bug 38235][Blo] New - Mono does not implement function pointers

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 18 Feb 2003 09:37:00 -0500 (EST)


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 carsten@hess.net.

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

--- shadow/38235	Tue Feb 18 09:37:00 2003
+++ shadow/38235.tmp.17392	Tue Feb 18 09:37:00 2003
@@ -0,0 +1,56 @@
+Bug#: 38235
+Product: Mono/Runtime
+Version: unspecified
+OS: SuSE 8.1
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: carsten@hess.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono does not implement function pointers
+
+Please fill in this template when reporting a bug, unless you know what    
+you are doing.    
+Description of Problem:    
+    
+I have a simple sample dll created using Visual Studio's c++ compiler. It    
+contains managed C++ code that uses functions pointers.    
+    
+When trying to run this code in Mono mono crashes in class.cpp claiming    
+that (1b) is not implemented.     
+    
+Looking it up in the source code I discovered that 1b are function    
+pointers and they are just not implemented.    
+    
+    
+Steps to reproduce the problem:    
+1. Unpack the targz file. It will create a directory called "stdtest" 
+2. run mono -d  stdtest.cpp   
+3.  See and enjoyt the error message   
+    
+Actual Results:    
+    
+    
+Expected Results:    
+It will priont "hello" once function pointers are implemented    
+    
+How often does this happen?     
+Always   
+    
+    
+Additional Information:    
+  
+I also added the Microsoft.VisualC.dll that was part of Mono 0.15 but is  
+not anymore. It is needed to run this example. You might have to copy it  
+to wherever all your other Mono dll's are as it is expected to be in the  
+library path of Mono.  
+  
+I also added the source code for the test. You will see it is only a few  
+lines of code.