Hi, Is the complete source code available somewhere, including the build system ? Without it, it's hard to see what could be wrong. For example, you could be inadvertently link with a GTK 2.x library.
-- Bertrand On Tue, Jun 10, 2014 at 7:30 PM, Sven Baus <[email protected]> wrote: > Hello Bertrand, > > thanks for your amazing work, getting Gtk# 2.99.3 to use. I'm currently > facing a bug in the Gtk# 2.99.3 for windows. Running the following code, > I can open the application (build on linux with monodevelop), but > everytime an event happens, I get an System.ViolationException: > > public MainWindow (Builder builder, IntPtr handle) : base (handle) > { > Console.WriteLine("MainWindow Constructor"); > builder.Autoconnect (this); > DeleteEvent += OnDeleteEvent; > > button1.Clicked += onButtonClick; > Gst.Application.Init(); > btnSearchFile.Clicked += btnSearchFileClicked; > } > > void btnSearchFileClicked (object sender, EventArgs e) > { > FileChooserDialog fcdSearchAudiofile = new > FileChooserDialog("Search",this,FileChooserAction.Open,"Abbrechen",ResponseType.Cancel,"Ok",ResponseType.Ok); > int retVal = fcdSearchAudiofile.Run(); > if ((ResponseType)retVal == ResponseType.Ok) > { > entFilePath.Text = fcdSearchAudiofile.Filename; > } > fcdSearchAudiofile.Destroy(); > } > > > Faulting application gtk3-sharp-test.exe, version 1.0.5274.34819, stamp > 53973e67, faulting module libpixman-1-0.dll, version 0.0.0.0, stamp > 527c1dd5, debug? 0, fault address 0x0007e1a8. > > Application: Gtk3-Sharp-Test.exe > Framework Version: v4.0.30319 > Description: The process was terminated due to an unhandled exception. > Exception Info: System.AccessViolationException > Stack: > at Gtk.Application.gtk_main() > at Gtk.Application.Run() > at Gtk3SharpTest.MainClass.Main(System.String[]) > > Any ideas, why this happens? > > Thanks for your help guys ;). > Sven > > > Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie > unter http://go.microsoft.com/fwlink/events.asp. > > > Am Freitag, den 06.06.2014, 16:44 +0200 schrieb Bertrand Lorentz: >> We're happy to announce the release of Gtk# 2.99.3, the fourth beta >> release of C# bindings for GTK 3.x. >> >> This version of Gtk# provides bindings for the API exposed by the >> following libraries: >> * cairo 1.10.0 >> * glib 2.28.0 >> * pango 1.28.3 >> * atk 1.32.0 >> * gdk-pixbuf 2.22.1 >> * gtk+ 3.0.0 >> >> There is no API stability guarantee for now, but we try to keep >> breaking changes to a minimum. >> >> * Gtk# 2.99.3 source tarball: >> https://download.gnome.org/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.tar.xz >> >> https://download.gnome.org/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.sha256sum >> >> * Source code repository: https://github.com/mono/gtk-sharp >> >> This is the first 2.99.x release with a Windows installer, which you >> can download at: >> >> https://download.gnome.org/binaries/win32/gtk-sharp/2.99/gtk-sharp-2.99.3.msi >> >> To find out about all the new features, improvements and bug fixes >> included in this release, you can read the release notes at: >> https://github.com/mono/gtk-sharp/releases/tag/2.99.3 >> >> This version of Gtk# can be installed in parallel with Gtk# 2.x, and >> should not have any impact on applications using Gtk# 2.x. >> >> If you encounter any bad behavior with this release, please do not >> hesitate to file bugs! >> https://bugzilla.xamarin.com/enter_bug.cgi?product=Gtk%23 >> >> I'd like thank everybody who contributed to this release. This >> wouldn't have been possible without their hard work ! >> >> -- >> Bertrand >> _______________________________________________ >> Gtk-sharp-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > > -- > Mit freundlichen Grüßen > Sven Baus > [email protected] > http://www.djfreezet.de > Tel.: 0175 / 49 50 309 > > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
