[Gtk-sharp-list] Errors with Win - Installer 1.1.7

Philipp Knecht ph_knecht@yahoo.com
Tue May 10 22:00:22 EDT 2005


Hi

I've setup 1.1.7 and tried a minimalistic GTK# app:

public class Test
{
   public static void Main (string[] args)
   {
	Application.Init();
	Window w = new Window ("Testäöü");
	w.ShowAll();
	Application.Run();

   }
}


Result:

An unhandled exception of type
'System.DllNotFoundException' occurred in
gtk-sharp.dll
Additional information: Unable to load DLL
(libgtk-win32-2.0-0.dll)

I then (paranoid as i am) copied all files from the
/mopno/bin/ folder into the output folder (debug/bin)
of the application and it worked.

Then i tried to add a button:

 
public class Test
{
   public static void Main (string[] args)
   {
	Application.Init();
	Window w = new Window ("Testäöü");
	Button b = new Button("Testäöü");
	w.Add(b);	
w.ShowAll();
	Application.Run();

   }
}



	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



More information about the Gtk-sharp-list mailing list