Original Post
I'm going through the Tricks of the Windows Game Programming Gurus and I got a question about Lock() on DirectDraw. These programs seem to be working but if I actually use the FAILED macro and show a dialog box I always get an error message. Will Lock() just not get the surface everytime? Or is something else screwy going on?