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

Python 3.11 XP兼容(提示缺失 SetWaitableTimerEx) #55

Closed
felixmaker opened this issue May 8, 2023 · 5 comments
Closed

Python 3.11 XP兼容(提示缺失 SetWaitableTimerEx) #55

felixmaker opened this issue May 8, 2023 · 5 comments

Comments

@felixmaker
Copy link

请求添加 SetWaitableTimerEx 实现
Python 3.11 用到了这个 SetWaitableTimerEx

@mingkuang-Chuyu
Copy link
Collaborator

mingkuang-Chuyu commented May 8, 2023

还缺其他吗?建议完整的过一遍导入表,把需要的API都罗列一下。这样一次修完。

SetWaitableTimerEx 调用 SetWaitableTimer就可以了,SetWaitableTimer最低支持到WinXP。
我目录从Windows 7的kernerbase的SetWaitableTimer实现反推出了 SetWaitableTimerEx 兼容代码。

详细代码见提交记录。

@felixmaker
Copy link
Author

我看解释器就差这个 API,其他的外部依赖 openssl、tk86、libffi 我再学习一下

@felixmaker
Copy link
Author

以我现在的认识水平来看,只缺少 SetWaitableTimerEx

@mingkuang-Chuyu mingkuang-Chuyu changed the title 请求添加 SetWaitableTimerEx 实现 Python 3.11 XP兼容 May 8, 2023
@mingkuang-Chuyu
Copy link
Collaborator

mingkuang-Chuyu commented May 8, 2023

@felixmaker ,帮忙验证一下:https://github.com/Chuyu-Team/YY-Thunks/actions/runs/4917657412
里面有个:Artifacts

如果发现有其他API缺失则继续更新此Issue。

@mingkuang-Chuyu mingkuang-Chuyu added 进度:等待发布 处理完毕,耐心等待新版本。 and removed 进度:正在跟进 labels May 9, 2023
@mingkuang-Chuyu mingkuang-Chuyu changed the title Python 3.11 XP兼容 Python 3.11 XP兼容(提供缺失 SetWaitableTimerEx) May 9, 2023
@mingkuang-Chuyu mingkuang-Chuyu changed the title Python 3.11 XP兼容(提供缺失 SetWaitableTimerEx) Python 3.11 XP兼容(提示缺失 SetWaitableTimerEx) May 9, 2023
@mingkuang-Chuyu
Copy link
Collaborator

@mingkuang-Chuyu mingkuang-Chuyu added 进度:处理完成 and removed 进度:等待发布 处理完毕,耐心等待新版本。 labels May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants