Why does AppInstance.GetActivatedEventArgs return E_ACCESSDENIED when running as Admin?
#4711
Unanswered
stevenbrix
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
The two big questions are:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a packaged MSIX application which has a custom CMake based build system. We use
AppInstanceto handle single instancing, and when we get the activation event args throughAppInstance.GetActivatedEventArgswhile running as admin, it fails with E_ACCESSDENIED.I'm not able to reproduce with a C++ or C# project created through Visual Studio, so it seems somehow related to something our build is/isn't doing. Any tips on why this API would fail this way would be super helpful, thanks! 🙏
Beta Was this translation helpful? Give feedback.
All reactions