[Mono-bugs] [Bug 78326][Blo] New - Mono quits with error when trying to run .exe program

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 7 16:25:00 EDT 2006


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 andreas.zieritz at broadpark.no.

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

--- shadow/78326	2006-05-07 16:25:00.000000000 -0400
+++ shadow/78326.tmp.9184	2006-05-07 16:25:00.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 78326
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: Windows XP
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: andreas.zieritz at broadpark.no               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono quits with error when trying to run .exe program
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+I have tried to write a simple Visual Basic program with the Microsoft
+Visual Studio 2005 Express Edition and run the exe file in Mono. 
+
+The code is:
+
+Public Class Form1
+    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
+System.EventArgs) Handles MyBase.Load
+        DisplayTime()
+    End Sub
+    Sub DisplayTime()
+        MsgBox(GetTime)
+    End Sub
+    Function GetTime() As String
+        Return CStr(Now)
+    End Function
+End Class
+
+The compiled file crashes with an error message when run with the mono
+runtime environment.
+
+Steps to reproduce the problem:
+1. run program with "mono MyFirstProcedure.exe"
+2. 
+3. 
+
+Actual Results:
+**ERROR**: file class.c:line 2582(mono_class_setup_parent):should not be
+reached aborting...
+
+Expected Results:
+Should show the time in a messagebox
+
+How often does this happen? 
+always
+
+Additional Information:


More information about the mono-bugs mailing list