Convert vector <unsigned char> to HBITMAP in C++
<p>I have used the code <a href="http://lodev.org/lodepng/example_bmp2png.cpp" rel="nofollow">here</a> to load a PNG image into a BMP raw vector <code>std::vector &lt;unsigned char&gt;</code>. Now, I need to apply this image as background to a WinAPI window and I don't know how could I convert it to <code>HBITMAP</code>. Maybe somebody did it before or maybe I could use another format or variable type</p>