-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Silly helloworld example, maybe (sure) I'm wrong in something but next code crashes: // Filename : HelloWorld.cc #include "YUI.h" #include "YWidgetFactory.h" #include "YDialog.h" #include "YLayoutBox.h" #include "YEvent.h" #include "YUILoader.h" int main( int argc, char **argv ) { YUILoader::loadUI(true); YDialog * dialog = YUI::widgetFactory()->createPopupDialog(); YLayoutBox * vbox = YUI::widgetFactory()->createVBox( dialog ); YUI::widgetFactory()->createLabel ( vbox, "Hello, World!" ); YUI::widgetFactory()->createPushButton( vbox, "&OK" ); dialog->waitForEvent(); dialog->destroy(); } Any help? Thanks, Angelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJ6uNAACgkQqEs9DA4DquCSJgCfcWTHM1ZWHssRYRLvK8TwG1v3 s38AniOIZo7V94JlIYhDodv+4fuVAqHk =U5CX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: libyui-devel+unsubscribe@opensuse.org To contact the owner, e-mail: libyui-devel+owner@opensuse.org