title: Delete Internet Explorer 8 History, Cookies, Cache and Passwords with C++
body: <p>i need programmatically delete Internet Explorer 8 History, Cookies, Cache and Passwords </p>
  
  <p>More than that i need to do it silently :-( without any popup window , so I can't use </p>
  
  <pre><code>RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
  </code></pre>
  
  <p>coz it's starting the progress window dialog.</p>
  
  <p>I've tried to run this from CreateProcess function with startInfoParams</p>
  
  <pre><code>siStartupInfo.dwFlags = STARTF_USESHOWWINDOW;
  siStartupInfo.wShowWindow = SW_HIDE;
  </code></pre>
  
  <p>but it doesn't helped , coz it seems like Inetcpl.cpl running asynchronious , and starting it's own thread that show the window.</p>
  
  <p>Does anyone know the way to implement this ?</p>
  
  <p>Thanks.</p>