CString Str1("This is my CString");
CString Str1Ref(Str1);//Ref CString
CStringA StrA(Str1Ref);//a helper String
LPCSTR lpszmyString =StrA; // Now lpszmyString contains This is my CString
CString Str1Ref(Str1);//Ref CString
CStringA StrA(Str1Ref);//a helper String
LPCSTR lpszmyString =StrA; // Now lpszmyString contains This is my CString
No comments:
Post a Comment