FAQ Error

Website
2005-11-01
2013-04-08
  • I think there is an error on the FAQ, on 'Startup', in the hello world application. It won't compile...
    I'm not that familiar with the library yet, but maybe you can't call "createMessageBox()->show( "Hello World" );" directly like that anymore?

     
    • Thomas Hansen
      Thomas Hansen
      2005-11-01

      You are totally right here...
      createMessageBox returns a WidgetMessageBox object and not a pointer so exchange the pointer dereference operator with a '.' and it should compile!

      .t

       
    • It shows the advantage of using source code to generate the documentations samples:

      http://smartwin.sourceforge.net/doc/samplecode1.html