FATAL ERROR: Unable to obtain device context.

This fatal error occurs only when Windows runs out of system resources. Close all applications and restart Windows.