[Mono-list] Problems mono gtk-sharp

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Mon, 26 Jan 2004 15:14:13 -0200

Well, you didn't send your source files, but from the message seems like you 
forgot to put some 'using' clauses in your program...

using Gtk;
using GtkSharp;

Hope it helps,

Rafael Teixeira
Brazilian Polymath
Mono Hacker since 16 Jul 2001
MonoBrasil Founding Member - Membro Fundador do MonoBrasil
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/

>From: "Mauricio Rojas" <mrojas@maptek.cl>
>Reply-To: mrojas@maptek.cl
>To: <mono-list@lists.ximian.com>
>Subject: [Mono-list] Problems mono  gtk-sharp
>Date: Mon, 26 Jan 2004 13:45:29 -0300 (CLST)
>mcs  /home/mrojas/mono/src/HelloWorld.cs -r gtk-sharp
>/home/mrojas/mono/src/HelloWorld.cs(17) error CS0246: Cannot find type
>/home/mrojas/mono/src/HelloWorld.cs(14) error CS0161: Not all code paths
>return a value
>/home/mrojas/mono/src/HelloWorld.cs(26) error CS0103: The name
>`Application.Quit' could not be found in `GtkSamples.HelloWorld'
>Compilation failed: 3 error(s), 0 warnings
>Unhandled Exception: System.NullReferenceException: A null value was found
>where an object instance was required
>Help me!
>Mono-list maillist  -  Mono-list@lists.ximian.com

MSN Messenger: instale grátis e converse com seus amigos.