import gtk.MainWindow;
 import gtk.Label;
 import gtk.Main;
 import std.stdio;

 pragma(lib, "C:\\DLang\\GtkD\\x86\\gtkd.lib");
 void main(string[] args)
 {
     Main.init(args);
     MainWindow win = new MainWindow("Hello World");
     win.setDefaultSize(200, 100);
     win.add(new Label("Hello World"));
     win.showAll();
     Main.run();
     getchar();
 }


Did all the steps, had to switch over from the 64-bit to the 32-bit dll of gtk+ to avoid errors(since i couldn't get gtkD to compile for 64-bit).

The above code(copied from site) simply runs and exists, I added the getchar but it doesn't seem to be executed. a BP on the first line is never reached, no errors, nothing, to help diagnose the issues.


Any ideas?

Reply via email to