Original Post
I have been having the hardest time trying to load a bitmap and display it on the screen using the GDI. I just want to load the bitmap and create an offscreen surface in my game initialization. Then In my game loop, I want to call GetDC() on my offscreen surface, then load my bitmap into a memory dc, copy that to the other dc (the offscreen surface), then use Blt to copy the offscreen surface to my back surface. I''ve seen this before on gamedev, but it always has something to do with someone''s own engine, but I just want some code for my initialization and main game loop that will do this. If anyone can show me some sample code for this, I would be very thankful.
~Andrew Clark