title: Using WER (Windows Error Reporting) tool to collect minidumps of our programs
body: <p>In some projects I have used MiniDump generation functions to generate dumps. </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/2598615/creating-a-minidump-of-a-running-process">Creating a MiniDump of a running process</a></li>
  <li><a href="https://stackoverflow.com/questions/1547211/how-to-create-minidump-for-my-process-when-it-crashes">How to create minidump for my process when it crashes?</a></li>
  </ul>
  
  <p>It is possible to generate these dumps and copy them from the machine to some development/test machines and analyze.</p>
  
  <p>When a program fails at Windows a form is shown stating that would you want to submit the crash information. It is also possible to add some functions to our code to enable this feature.</p>
  
  <p><em>However the dumps will be sent to Watson servers of Microsoft?</em> </p>
  
  <p>I wonder if it can be possible to write these WER enabling functions in our code and update CorporateWERServer property to make the bugs be forwarded to our servers instead of Microsoft.</p>
  
  <ul>
  <li><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb513638%28v=vs.85%29.aspx" rel="nofollow noreferrer">WER Reference</a> </li>
  </ul>
  
  <p>So we might be automatically informed when our applications crash, using an already implemented feature of Microsoft. Furthermore, is there a similar utility available for Linux side for programmers to use for such situations.</p>