You can convert a CString to a LPCTSTR. Or you can use the GetBuffer() method to directly access the CString's buffer.
You can also construct a CString from a const char* (LPCTSTR) or convert a char* to a CString explicitly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.