Question

How can I perform the task in subject in order to display this DWORD array content in Hex on my log?

Was it helpful?

Solution

DWORD ar[4];
for (int i = 0; i < 4; i++)
{   CString str;
    str.Format(L"%08X\n", ar[i]);
    TRACE(L"%s", str);
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top