Hi
My Aim is to convert a double type to a LPCSTR and afterwards set it as an item text of an edit box... (in Dialog box not a window)
I ve got these two lines but apparantly its complete rubbish... Isnt it?
Do you have any idea how is the conversion possible?Code:TCHAR chValue[128]; double m_iTotal; wsprintf(chValue, "%s", m_iTotal); SetDlgItemText(hDlg, IDC_EDIT, chValue);