i am trying to convert a LPCSTR string into LPCTSTR string. i want to concatenate two string,when i try like this
LPCSTR
LPCTSTR
LPCTSTR str1 = L\"Ra
I tried this it worked:
#include #include using namespace std; int main() { LPCSTR stringToConvert = "My troublesome string"; CString transitionString = stringToConvert; LPCTSTR myDesiredString = transitionString; wcout << myDesiredString; }