LPCSTR, TCHAR, String
- by user285327
I am use next type of strings:
LPCSTR, TCHAR, String i want to convert:
1) from TCHAR to LPCSTR
2) from String to char
I convert from TCHAR to LPCSTR by that code:
RunPath = TEXT("C:\\1");
LPCSTR Path = (LPCSTR)RunPath;
From String to char i convert by that code:
SaveFileDialog^ saveFileDialog1 = gcnew SaveFileDialog;
saveFileDialog1->Title =…