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

Prin Windows version in crash report #16

Closed
dismine opened this issue Jun 7, 2015 · 2 comments
Closed

Prin Windows version in crash report #16

dismine opened this issue Jun 7, 2015 · 2 comments

Comments

@dismine
Copy link

dismine commented Jun 7, 2015

Hi,

In addition to issue #13 i wanna know your thoughts about printing Windows version in crash report. It should be not so hard get this info.

@White-Tiger
Copy link

actually... starting from Win8.1, Microsoft made it impossible to reliably request the OS version... before 8.1, one could use GetVersionEx to receive the OS version, but this stops working with 8.1+ and always returns Windows 8 for any newer OS unless you specify in your app manifest that your app is meant to run with 8.1, 10, etc... but you can't know those GUID beforehand...
So "best" possible way might be to read the version info of any well known OS dll.. as they resemble the OS in some way.. or finding some different "work around"..

Though a feature like this would also help to fix reports ;) Same for App version (which might not always work), Dr.MinGW version (in case the user didn't update it for what ever reason, or your App version cannot be detected) and OS version so one can go straight ahead and start reproducing ;)

@jrfonseca
Copy link
Owner

I pushed a commit that prints the version using GetVersionEx, and added a comment to revise this later for Windows 10. If somebody manages to get this working reliably on Windows 10 feel free to send a patch.

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

No branches or pull requests

3 participants