Z zurich Unregistered / Unconfirmed GUEST, unregistred user! 2004-05-24 #2 destchar:array[1..i] of char; sourcestring :string; strcopy(destchar,Pchar(sourcestring));
E eMetal Unregistered / Unconfirmed GUEST, unregistred user! 2004-05-24 #3 CString 是VC的字符串类型 不是delphi中的问题
E edove_Sun Unregistered / Unconfirmed GUEST, unregistred user! 2004-05-31 #5 用CString中的GetBuffer可以转换为char 如下: CString 转 char CString s(_T("File.ext")); LPTSTR p = s.GetBuffer(); char * 转 CString TCHAR * p = _T("This is a test")
用CString中的GetBuffer可以转换为char 如下: CString 转 char CString s(_T("File.ext")); LPTSTR p = s.GetBuffer(); char * 转 CString TCHAR * p = _T("This is a test")