[Gtk-sharp-list] Exception System.AccessViolationException was thrown in debuggee: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Anticipation3 anticipation3 at googlemail.com
Sat Oct 11 17:06:44 EDT 2008



Anticipation3 wrote:
> 
> I'm writing an application in VB, using SharpDevelop's .NET 2.0 Compiler
> (SharpDevelop 2 doesn't work with the mono compiler for some reason), and
> when i try to compile, i get the exception...
> 
> Exception System.AccessViolationException was thrown in debuggee:
> Attempted to read or write protected memory. This is often an indication
> that other memory is corrupt.
> 
> Any help would really be appreciated, 
> Thanks.
> 

Some more info - my code is this;
Public Class MainWindow
		
		Public Shared Sub Main()
			Dim MainWindow As New Gtk.Window("Vine Animator")
		
			Application.Init()
			MainWindow.SetSizeRequest(1000, 800)
			MainWindow.ShowAll()
			Application.Run()
		End Sub
		
End Class

Please help, 
Thanks.

-- 
View this message in context: http://www.nabble.com/Exception-System.AccessViolationException-was-thrown-in-debuggee%3A-Attempted-to-read-or-write-protected-memory.-This-is-often-an-indication-that-other-memory-is-corrupt.-tp19905535p19936433.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list