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

Crash when showing a toast from non-admin account in elevated context #54

Open
yuyoyuppe opened this issue Jul 30, 2020 · 1 comment
Open

Comments

@yuyoyuppe
Copy link

yuyoyuppe commented Jul 30, 2020

Repro steps:

  1. compile example
  2. log in as non-admin user
  3. launched elevated cmd shell
  4. WinToast Console Example.exe" --text
  5. observe the crash

We've had a similar issue and it could be solved by initializing COM security with L"(A;;0x7;;;IU)".

@mohabouje
Copy link
Owner

To keep things simple, the most effective way is to provide a set of helper functions to configure the COM security if required. I will utilize the files that you have linked and introduce this feature in version 1.4.0.

I am keeping this open for now.

See also #86 for more information.

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