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

Remove Win8 support #15219

Merged
merged 5 commits into from
Mar 28, 2023
Merged

Remove Win8 support #15219

merged 5 commits into from
Mar 28, 2023

Conversation

snnn
Copy link
Member

@snnn snnn commented Mar 25, 2023

Description

Remove Win8 support since it is EOL.

See https://learn.microsoft.com/en-us/lifecycle/announcements/windows-8-1-end-support-january-2023

Motivation and Context

Simplify code. And when I was doing this, I found a bug in #4651 .

CREATEFILE2_EXTENDED_PARAMETERS param;
memset(&param, 0, sizeof(param));
param.dwSize = sizeof(CREATEFILE2_EXTENDED_PARAMETERS);
param.dwFileFlags = FILE_FLAG_BACKUP_SEMANTICS;
Copy link
Member Author

Choose a reason for hiding this comment

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

The old code forgot to set this FILE_FLAG_BACKUP_SEMANTICS flag, so it didn't work if the input path is a directory!

@snnn snnn merged commit 462c604 into main Mar 28, 2023
@snnn snnn deleted the snnn/win81 branch March 28, 2023 01:51
PeixuanZuo pushed a commit that referenced this pull request Mar 29, 2023
### Description
Remove Win8 support since it is EOL.

See
https://learn.microsoft.com/en-us/lifecycle/announcements/windows-8-1-end-support-january-2023

### Motivation and Context
Simplify code.
@BengtGustafsson
Copy link
Contributor

We still have several customers who use Windows 7 or 8, unfortunately. We would also like them to upgrade but so far we have not been successful.

skottmckay added a commit that referenced this pull request Jun 8, 2023
…15219 removed a check that it was available, making it a hard dependency. When it's not available the dll load fails with a 'procedure not found' error.

Add back the check.
skottmckay added a commit that referenced this pull request Jun 9, 2023
### Description
<!-- Describe your changes. -->
SetThreadDescription isn't available in an Azure App Service sandbox.
#15219 removed a check that it was available, making it a hard
dependency. When it's not available the dll load fails with a 'procedure
not found' error.

Add back the check.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

#15375 - although note this has nothing to do with the original issue.
This is just for
#15375 (comment)
snnn pushed a commit that referenced this pull request Jun 15, 2023
### Description
<!-- Describe your changes. -->
SetThreadDescription isn't available in an Azure App Service sandbox.
#15219 removed a check that it was available, making it a hard
dependency. When it's not available the dll load fails with a 'procedure
not found' error.

Add back the check.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

#15375 - although note this has nothing to do with the original issue.
This is just for
#15375 (comment)
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.

3 participants