What would be the simplest way for me to copy a CString to a LPTSTR?
LPSTR pszText; //"This is type of LPSTR";
CString cs = "This is a test";
I want both variables to contain "This is a test". Thanks for any suggestions.
JD
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Thread: copy a CString to a LPTSTRThreaded View
|
Click Here to Expand Forum to Full Width |