char cTestArr[2][10]; strncpy(cTestArr[0],"123456789\0",10); // Data -> char array ( PASS! ) CString strTest(cTestArr[0]); // char array -> CString ( PASS! )
Dim strTemp As String Dim cTestArr(2, 10) As Char ' Must not be a String Type cTestArr(0) = "123456789" ' Data -> char array ( FAIL!!! ) strTemp = cTestArr(0) ' char array -> String ( FAIL!!! )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)