mfc - cannot convert parameter 1 from 'const char [6]' to 'const wchar_t * -
i'm new mfc , don't know error.
error
error c2664: 'void atl::cstringt::format(const wchar_t *,...)' : cannot convert parameter 1 'const char [6]' 'const wchar_t *'
heres line:
m_echo1.format("%d %",state.dwmemoryload);
by default windows app set use 16-bit characters, not 8-bit characters. change quoted string l"%d %" specify string of 16-bit characters.
Comments
Post a Comment