title: Using TaskDialogConfig with std::string
body: <p>I am trying to to create a Task Dialog, using the <code>TASKDIALOGCONFIG</code> strucutre. My application uses Unicode. This is my code:</p>
  
  <pre><code>string error_text = get_error_text();
  string error_code = get_error_code();
  
  TASKDIALOGCONFIG tdc = { sizeof(TASKDIALOGCONFIG) };
  tdc.dwCommonButtons = TDCBF_OK_BUTTON;
  tdc.pszMainIcon = TD_ERROR_ICON;
  tdc.pszWindowTitle = _T("Error");
  tdc.pszContent = error_text.c_str(); /* of course this will give a 
                                          const char* instead of a wchar_t* */
  tdc.pszExpandedInformation = error_code.c_str(); // here is the same thing
  tdc.hwndParent = m_wndParent;
  
  TaskDialogIndirect(&amp;tdc, NULL, NULL, NULL);
  </code></pre>
  
  <p>I have researched the problem a bit, but I haven't found a solution yet. Could anybody help me?</p>