WindowsDesktopApplication calculator problem

  • Thread starter Thread starter Stefan_dg
  • Start date Start date
S

Stefan_dg

Guest
Hello, I must to make calculator with WindowsDesktopApplication but I have problem even with the reading the text from edit control. The numbers must to be entered with buttons 0,1,2... and the symbols too ".", "+"... But I cant find any way to enter numbers, when I try SetDlgItemText(hDlg, IDC_EDIT3, 66); it say "argument of type int is incompatible with parameter of type LPCWSTR", when I try SetDlgItemText(hDlg, IDC_EDIT3, (LPCWSTR)66); The program crash when this function is started. So I must to find way to enter for example 12.4 with symbols. I'm desperate, I have studied this langue only couple of weeks years ago and now I dont know what to do.Please help me, thanks.

Continue reading...
 
Back
Top