mail-archives/mono-list/2003-October/016184.html

92 строки
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] Mono+Gtk+Windows (Errors 2nd Part)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:pablo%40pablo.com.mx">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016219.html">
<LINK REL="Next" HREF="016185.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] Mono+Gtk+Windows (Errors 2nd Part)
</H1>
<B>Pablo Fischer
</B>
<A HREF="mailto:pablo%40pablo.com.mx"
TITLE="[Mono-list] Mono+Gtk+Windows (Errors 2nd Part)">pablo@pablo.com.mx
</A><BR>
<I>Tue, 07 Oct 2003 15:07:32 -0500</I>
<P><UL>
<LI> Previous message: <A HREF="016219.html">[Mono-list] list settings
</A></li>
<LI> Next message: <A HREF="016185.html">[Mono-list] Mono+Gtk+Windows (Errors 2nd Part)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16184">[ date ]</a>
<a href="thread.html#16184">[ thread ]</a>
<a href="subject.html#16184">[ subject ]</a>
<a href="author.html#16184">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>hi all!
I finally installed mono (.28) and gtk# (.10) in Windows, but I cannot
run my gtk# apps.
In Linux I have a small example, its just a button (in glade) and in the
.cs file I load it and show it, ,in linux works very fine, but in
Windows Im getting an error (at the end of the mail) and the app gets
closed. In linux I have the same version, the mono (.28, compiled) and
gtk# (compiled), so in linux and windows I have the same version.
Any ideas?
Thanks!
Warning **: Failed to load function gtksharp_glade_xml_get_filename from
gtksharpglue
Warning **: Failed to load function gtksharp_glade_xml_get_filename from
gtksharpglue
Unhandled Exception: System.TypeInitializationException: An exception
was thrown
by the type initializer for Gtk.Application ---&gt;
System.NullReferenceException:
A null value was found where an object instance was required
in &lt;0x0005e&gt; Gtk.RuntimeEnvironment:InitializeWindowsRuntime ()
in &lt;0x0003b&gt; Gtk.RuntimeEnvironment:Initialize ()
in &lt;0x00007&gt; Gtk.Application:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) Gtk.Application:Init ()
in &lt;0x0001d&gt; GladeSamples.GladeTest:.ctor (string[])
in &lt;0x00024&gt; GladeSamples.GladeTest:Main (string[])
And the app
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016219.html">[Mono-list] list settings
</A></li>
<LI> Next message: <A HREF="016185.html">[Mono-list] Mono+Gtk+Windows (Errors 2nd Part)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16184">[ date ]</a>
<a href="thread.html#16184">[ thread ]</a>
<a href="subject.html#16184">[ subject ]</a>
<a href="author.html#16184">[ author ]</a>
</LI>
</UL>
</body></html>