abcd1258 发表于 2025-9-28 09:11:47

[已解决]怎样判断只支持Win7以上系统下运行

本帖最后由 abcd1258 于 2025-9-28 10:28 编辑


h111666b 发表于 2025-9-28 09:47:43

FileGetVersion(@WindowsDir & "\System32\Kernel32.dll", "ProductVersion") > 6.0

简单示例,你自己去扩展。

abcd1258 发表于 2025-9-28 10:26:46

If FileGetVersion(@WindowsDir & "\System32\Kernel32.dll", "ProductVersion") < 6.1 then
        MsgBox(0, "错误", "本程序只能在Win7以上系统下运行!")
        Exit
EndIf
页: [1]
查看完整版本: [已解决]怎样判断只支持Win7以上系统下运行