Please may I ask for your help on the following problem:
Language: C++, DirectX, Win32
Program description: Simple full-screen tile and display.
Problem: SaveLevel() (exits with no errors) causes the screen to freeze. So no on-screen debug info being updated.
Temp resolution: Left-clicking the mouse results in normal operation. The seconds counter continues with the correct info as if it ran in the BG.
My guess: Is the window loosing focus somehow by the save function which uses fprintf() calls to write out text information?
I tried testing for it loosing focus by running in windowed mode. The app did not freeze when clicking between windows (ie. notepad + app). But it did freeze when saving in windowed mode. Btw I really should be using fprintf_s() instead.