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

UIForETW silently exits if it cannot retrieve "My Documents" path #134

Open
TautvydasZilys opened this issue Jul 1, 2019 · 1 comment
Open

Comments

@TautvydasZilys
Copy link

Relevant code:

const BOOL getMyDocsResult = SHGetSpecialFolderPath(*this, documents, CSIDL_MYDOCUMENTS, TRUE);

I was trying out UIForETW on my home machine after a recent boot and have not bitlocker unlocked all of my drives. My documents folder was under one such locked drive. I realize it is my fault for this, but at the very least UIForETW could have told me so, as I had to install a debugger just to figure out what's going on.

By the way: the same happens to WPRUI.exe :).

@randomascii
Copy link
Contributor

Adding better error handling would be nice - a message box and then exit. This isn't a priority for me but if you want to create a PR I'd be happy to accept it.

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

2 participants