Skip to content

Supports Windows 10 versions before 2004 - #402

Closed
wuwbobo2021 wants to merge 1 commit into
deviceplug:devfrom
wuwbobo2021:master
Closed

wuwbobo2021 wants to merge 1 commit into
deviceplug:devfrom
wuwbobo2021:master

Conversation

@wuwbobo2021

@wuwbobo2021 wuwbobo2021 commented Oct 20, 2024

Copy link
Copy Markdown

Fixes for this issue: #364.

Thanks to @ChristianPavilonis for providing the clue. He had forked this project and deleted the line that causes the problem.

This fix tries to keep the functionality as is, merely ignoring the returned error if SetAllowExtendedAdvertisements() isn't available.

@qwandor
qwandor changed the base branch from master to dev October 20, 2024 09:25
@qwandor
qwandor requested a review from qdot October 20, 2024 09:25
@qdot

qdot commented Dec 21, 2024

Copy link
Copy Markdown
Contributor

I'd really rather this be a conditional on the OS version rather then just throwing out the error completely, especially because this is such an old version of Win10. Also this needs comments for why it's happening.

@qdot qdot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Make this a conditional that parses OS version, because I want to throw an error whenever possible. Also, needs comments about why this is happening since it's done for a rare platform.

@wuwbobo2021

This comment was marked as off-topic.

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