Ive coded quite a complicated C programme and stuck on a really simple problem which i cant seem to solve.
That is what im trying to do but with no luck as SetDlgItem requires a LPCTSTR as its third argument and not a char. Any ideas how i can get this working?Code:char ch = 'a'; SetDlgItemText(hwnd, IDC_S, ch);
Note: Im not looking for the following solution:
As i am required to do it by converting a char to a LPCTSTRCode:SetDlgItemText(hwnd, IDC_S, "a");
Thanks for any help