title: Intel c++ CreateWindow kernel resource leak
body: <p>I am using Parallel Studio (from Intel) and the Intel c++ Compiler.</p>
  
  <p>The Memory Problem analyzer always tells me, that I have a Kernel resource leak in my <code>CreateWindow</code> function.</p>
  
  <p>The Function Call is located at line 26 in my Header File.</p>
  
  <p>No matter what I do, the leak always appears (calling <code>DestroyWindow</code> in the Destructor of the class etc.)</p>
  
  <p>Header:
  <a href="http://beta.pastie.org/private/ze8x59f1nfkjz0wcrromew" rel="nofollow">http://beta.pastie.org/private/ze8x59f1nfkjz0wcrromew</a></p>
  
  <p>Source: 
  <a href="http://beta.pastie.org/5425046" rel="nofollow">http://beta.pastie.org/5425046</a></p>