Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an Error message when GetTempFileName fails - Fixes Issue #4566 #4578

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Lalit-L
Copy link

@Lalit-L Lalit-L commented Jul 26, 2024

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 the cout message when success != 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: No details about why GetTempFileName fails
1 participant