Q: How to convert a 'char*' to 'CString'?
A: Use either the constructor of 'CString' or its assigment operator:
orCode:char* str = "Hello"; CString cs(str);
Code:CString cs; cs = str;
|CodeGuru Home||VC++ / MFC / C++||.NET / C#||Visual Basic||VB Forums||Developer.com|
Results 1 to 1 of 1
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.