作用
可以在win7上运行面向Windows 8, 8.1 and 10开发构建的程序。
目前公布起作用的:Chromium 、Cygwin、Firefox、MPV、Python(?这我真不清楚是指什么版本)、VSCode、WinDbg (classic from Windows 11 SDK, and preview) 等,QT6还有Electron的程序也有作用。
我自己没有win7设备,没有使用这个,是否能够正常运行就请自行测试
我个人理解它的原理是:程序不能在低版本windows运行的一个原因是使用了新版windows独有的系统接口,而VxKex项目就是提供一个“垫片”,为程序提供windows7上缺失的接口。
使用方法
安装,然后在需要运行的文件上打开属性,启用VxKex
开源,源码在release里。
作者自己解释的工作原理:
Q: How does VxKex work?
A: VxKex works by loading a DLL into each program where VxKex is enabled. This is accomplished through using the IFEO (Image File Execution Options) registry key.
Specifically, the “VerifierDlls” value is set to point to a VxKex DLL. This DLL then loads into the process.
API extension is accomplished by editing the program’s DLL import table so that instead of importing from Windows 8/8.1/10 DLLs, it imports to VxKex DLLs instead. These VxKex DLLs contain implementations of Windows API functions which were introduced in newer versions of Windows.