Pergunta

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

Foi útil?

Solução

DWORD ar[4];
for (int i = 0; i < 4; i++)
{   CString str;
    str.Format(L"%08X\n", ar[i]);
    TRACE(L"%s", str);
}
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top