i am trying to convert a LPCSTR string into LPCTSTR string. i want to concatenate two string,when i try like this
LPCTSTR str1 = L"Raja"
LPCSTR str2 = "Kumar"
wcscat_s(str1,(LPCTSTR)str2);
i found the o/p like Raja....r(junkvalues)....how can typecast LPCSTR to LPCTSTR?