hi all,
how to convert int into cstring? i code this:
<code>
CString count;
count.Format("%d", resultCount);
</code>
where resultCount is integer
error message :
錯誤 1 error C2664: 'void ATL::CStringT<BaseType,StringTraits>::Format(const wchar_t *,...)' : cannot convert parameter 1 from 'const char [3]' to 'const wchar_t *'
the coding seems to be correct.
what's wrong? thanks very much!