I have a char array containing image data downloaded from a web server via HTTP using WININET. The HTTP response shows the content type is image/jpeg.
I'm not sure it is in RGB or BGR or some other type of data format, basically it is a JPEG image.
I would like to know how could I convert this char array to BITMAP/HBITMAP or anything else where I can display it as an image on my MFC application?
I posted a response to your other post showing how you can use GDI+ to load an display a jpeg image which is stred in a memory block.
MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Dialogs (1) modal - maintaining the database.
Continuing from the ninth article about sudoku.
You might have heard of modal and modeless dialogs. Here with this Sudoku application will we use one of each type: a modal dialog …
Dialogs (2) modeless dialog and a worker thread. Handling data shared between threads. Recursive functions.
Continuing from the tenth article about sudoku.
Last article we worked with a modal dialog to help maintain informat…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel.
Part 1 of this series discussed basic error handling code using VBA.