c 에서 다음과 같은 값을 델파이로 어떻게 처리 해야 하나요? ^^;;
특히를 wsprintf 를 통해 받은 szResultStr 값을 델파이로 String 값으로 받고 싶습니다.
어제 부터 ㅜ.ㅜ 끝이 없네용...부탁드립니다.
<!--CodeS-->
char szResultStr[128]={0,};
unsigned char szEncMainUrl[16];
wsprintf(szResultStr, "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", szEncMainUrl[0], szEncMainUrl[1],
szEncMainUrl[2], szEncMainUrl[3], szEncMainUrl[4], szEncMainUrl[5], szEncMainUrl[6], szEncMainUrl[7], szEncMainUrl[8], szEncMainUrl[9],
szEncMainUrl[10], szEncMainUrl[11], szEncMainUrl[12], szEncMainUrl[13], szEncMainUrl[14], szEncMainUrl[15]);
<!--CodeE-->
걍 Format함수 쓰세요...
<!--CodeS-->
szResultStr := Format('"%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x', [szEncMainUrl[0], szEncMainUrl[1], szEncMainUrl[2], szEncMainUrl[3], szEncMainUrl[4], szEncMainUrl[5], szEncMainUrl[6], szEncMainUrl[7], szEncMainUrl[8], szEncMainUrl[9], szEncMainUrl[10], szEncMainUrl[11], szEncMainUrl[12], szEncMainUrl[13], szEncMainUrl[14], szEncMainUrl[15]]);
<!--CodeE-->