RE: Display PNGs in c
libpng won't display data, but it should allow you to get an HBITMAP to it. Then you can use GDI to draw it.
And you don't statically link a DLL, you statically link a LIB. Make sure you compile libpng to a static library instead of a dynamic one, and you'll get a LIB you can link into your own progam.
This post was edited on 01-13-2006 at 03:52 PM by RaceProUK.
|