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

Change hasIdentity to work on Windows10 #232

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daniel-kane-everbridge-com
Copy link
Contributor

https://learn.microsoft.com/en-us/windows/msix/detect-package-identity

Previous method was not working with Window10.

bool hasIdentity()
{
UINT32 length = 0;
LONG rc = GetCurrentPackageFullName(&length, NULL);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for later, but seesm the GetCurrentPackageFullName wouldn't working on Win7.

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.

2 participants