Original Post
I have made a little DirectDraw program, but when I run it, the ShowWindow function goes wrong. In the code I don''t see any error:
if (!ShowWindow(hWnd, SW_SHOW))
MessageBox(hWnd, "Error showing window", "ERROR!", MB_OK);
for some reason, it goes wrong. I can''t just leave the showwindow out, because then the program exists before the DirectDraw initialization stuff.
Can anyone help me out
Thanks
Diablo