title: Can Win32 API be dangerous to my computer?
body: <p>Is it possible to accidentally format the hard drive, damage the OS in some way when learning the Win32 API?</p>
  
  <p>This question is an extension of the one asked here:</p>
  
  <p><a href="https://stackoverflow.com/questions/1419041/can-learning-c-or-c-be-dangerous-to-my-computer">Can learning C or C++ be dangerous to my computer?</a></p>
  
  <p>The reason I ask is as follows. </p>
  
  <p>Stupidly, I created an array of HWNDs but looped outside of its boundaries. When I ran the program, I noticed that windows in <em>other</em> programs on my desktop had been closed.</p>
  
  <p>I don't believe I caused any damage to the computer or any other software, but cannot be sure.</p>
  
  <p>Is this, or other form of mistake in Win32 API programming, dangerous to my computer/other software on the computer?</p>
  
  <p><strong>EDIT:</strong>
  Apologies, when I say that windows in other programs had been closed, I should have said hidden, my loop was calling ShowWindow(..., SW_HIDE)</p>