title: Print out pointer value
body: <p>I am doing a threading, but i don't know how to print out the pointer value.</p>
  
  <pre><code>UINT __cdecl CThreadDlg::func(LPVOID pParam)
  {
      data *ptr = (data*)pParam;
      AfxMessageBox(L"You have entered a thread function.");
      ptr-&gt;a = "abc12345";       // char * a
      AfxMessageBox(???);        // what should i put here to print out the value of a?
  
      return 0;
  }
  </code></pre>