error C2440: '': cannot convert from '_Ty2' to 'CString'
here the codeQuote:
[Only registered and activated users can see links. Click Here To Register...]
Every compile error is listed in the MSDN. Basically this error is telling you that a data-type can't be converted to CString.
Without seeing the code that throws this error, we won't be able to tell you why exactly it doesn't work.
if (script.Token == _T("title"))
{
script.GetToken(); // (
script.GetToken();
szpName = CString(CScript::m_mapString.find(script.token)->second);
script.GetToken(); script.GetToken();
}
I solve thanks to you! :)Quote:
I won't give you the solution, try to figure it out on your own.
Just try different approaches and you will get to it eventually.
This forum is to get help, not free solutions after all.
Just try to look at the MSDN and figure out why your code doesn't work.