Talk:Your first SmartWin application II
From SmartWin Wiki
I followed the instruction of "Your first SmartWin application II" and found that setSize() function is not a member of WidgetButton class any more. After changing it to setBounds() it worked.
It seems a later change of code than this tutorial text.
Great, thank you!
- )
It's often a bit too much to follow up on when we get new releases and sometimes things like this "glitch"! Thank you
--Thomas Hansen (aka .t) 03:12, 16 Oct 2005 (PDT)
some problems
I'm using Microsoft Visual Studio 9.0 Express and I'm getting the following error:
cannot convert parameter 1 from 'const char [21]' to 'const SmartUtil::tstring &'
on each of the lines:
- createMessageBox().show("Hello World Was Here");
- setText("Hello World");
- btn->setText("My Button");
Do you have any ideeas why this happens?
Also, I have a notice about your example. You have included the "SmartWin.h" twice, in the header and the cpp file.
EDIT I have replaced every string with _T("Hello World") to fix the problem. But now I have a linker error:
cannot open file 'SmartWinDU.lib'
How to compile SmartWin with VS 2008? Is this project dead?
--Adipiciu 17:39, 15 Sep 2009 (UTC)
