I seriously don't know whats wrong with the code. Everything looks fine but the bitmap would be displayed.
I seriously don't know whats wrong with the code. Everything looks fine but the bitmap would be displayed.
shouldn't
"C://Dodger//Rect.bmp"
be
"C:\\Dodger\\Rect.bmp" ??
if that does not fix it then test the return
ie
if(rect == NULL)
iError = GetLastError() //find this code in the help to find out what went wrong
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
Novacain. You were right. Thanks for the help. I made that small program because I was having trouble with a larger program. I made the necessary changes in the larger program and the problem still occurs. I haven't programed in WinAPI in like weeks. I really don't know whats wrong with my double buffering in this program.