... if ((errno == 02h) || (errno == 50h)) DebugPrint (0, "ERROR: %#X, Open (%s, %#X) = -1 ", errno, pName, uMode); else 101 No Bugs DebugMessageBox (0, "ERROR: %#X\nOpen (%s, ... function, add a check to see whether errno is non-zero. If so, pop up a message box explaining what happened. You will notice that the pop-up box gives not simply the handle of the file, but ... illustrates writing to a file. // hFil, errno, and seek checks not show to save space // Notice the void const for extra type checking 107 No Bugs unsigned Write (int hFil, void const...