【问题标题】:How to detect if Windows is 64x or 86x via Lingo (Adobe Director)如何通过 Lingo (Adobe Director) 检测 Windows 是 64x 还是 86x
【发布时间】:2015-03-11 16:26:24
【问题描述】:

我想知道是否可以通过 Director 检测客户的 Windows 是基于 64x 还是 86x。原因是某些 Xtra 在 64 倍窗口上运行时无法按预期工作,我想为我的程序创建 2 个版本以获得更好的兼容性。

如果可能的话,我想要一个基于代码的解决方案,除了 Director 之外不涉及其他程序。

【问题讨论】:

    标签: windows x86 64-bit lingo adobe-director


    【解决方案1】:

    您可以尝试使用BuddyAPI 和 baVersion("Wow64") 代码。 如果在 64 位 Windows 下作为 32 位应用程序运行,这将返回 1。由于投影仪只是 32 位应用程序,因此如果 Windows 是 64 位,这将是正确的。如果在 32 位 Windows 下运行,它将返回 0。 如果在 64 位处理器下运行,baVersion ("64Bit" ) 将返回 1,无论 Windows 版本如何。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-02-23
      • 2011-02-20
      • 2012-04-09
      • 1970-01-01
      • 1970-01-01
      • 2014-07-04
      • 2012-12-26
      相关资源
      最近更新 更多