title: Using GDI+ Bitmap
body: <p>I am using GDI+ Bitmap class to convert an IStream to HBITMAP. I have included the gliplus lib file in the Linker inputs and also have the dll in the build path. But using the statement</p>
  
  <pre><code>Bitmap bm(lpStream,FALSE);
  </code></pre>
  
  <p>gives me an error <b>C2065: 'Bitmap' : undeclared identifier</b></p>
  
  <p>Can someone please tell me what I am doing wrong here. </p>
  
  <p>Thanks.</p>
  
  <p><i>Edit</i><br/>
  I have already included the appropriate headers in my implementation (gdiplus.h) And I can view the definition of Bitmap by selecting the "Go to definition" option in the context menu.</p>