[Gtk-sharp-list] Problems mono gtk-sharp
Jeremiah McElroy
jeremiah@facility9.com
Mon, 26 Jan 2004 15:09:31 -0500
If we could see a code example, that might help.
However, judging by your errors, I would suspect that you are missing a
'using' declaration.
Try including the line 'using GtkSharp;' at the top of your code.
As for the Application.Quit error, it looks as if you are calling
Application.Quit without the parenthesis necessary for a void function
call. But, without source code it is difficult to tell.
HTH,
Jeremiah McElroy
Mauricio Rojas wrote:
>Hello,
>
>mcs /home/mrojas/mono/src/HelloWorld.cs -r gtk-sharp
>/home/mrojas/mono/src/HelloWorld.cs(17) error CS0246: Cannot find type
>`Window'
>/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!
>
>bye
>
>
>
>
>_______________________________________________
>Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>