Detect whether current Windows version is 32 bit or 64 bit

前端 未结 23 2850
抹茶落季
抹茶落季 2020-11-28 03:47

Believe it or not, my installer is so old that it doesn\'t have an option to detect the 64-bit version of Windows.

Is there a Windows DLL call or (even better) an en

23条回答
  •  没有蜡笔的小新
    2020-11-28 04:39

    I tested the solution I suggested in my question:

    Tested for Windows Environment Variable: ProgramW6432

    If it's non empty then it's 64 bit Windows.W

提交回复
热议问题