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

Fixed crashes when picking apps to run for diff/merge/view #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vtslothy
Copy link

@vtslothy vtslothy commented Mar 3, 2021

I could never pick an external app to run for diff/merge/view - it would crash in ucrtbase.dll inside the file picker. Some quick searching pointed to CoUninitialize() calls being the culprit - CFileDialog::~CFileDialog() has one call to CoUninitialize(), but only if you are using a Vista-style dialogue.

The simplest fix was to pass in FALSE for whether to use the 'new' Vista-style file dialogues.

If you are passionate about the new Vista-style dialogues, this isn't the right fix.

vtslothy added 3 commits March 2, 2021 21:04
Easiest fix was to pass in FALSE for whether to use the 'new' Vista-style file dialogues
ignore dependencies/
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.

1 participant