googletest
googletest copied to clipboard
Added an Error message when GetTempFileName fails - Fixes Issue #4566
trafficstars
REASON:
Closes #4566 which desired an error message to be outputted when GetTempFileName fails, in order to try and fix the issue with some more knowledge as to why it failed
HOW THIS FIXES THE ISSUE
- I have added
GetLastError()to the end of thecoutmessage whensuccess != 0, in order to let the user know what error occured - I have checked all the tests and they pass as they should, the program was not affected negatively at all.