OSX 64 位二进制文件中没有 Carbon 人机界面工具箱?
我的印象是 Carbon Human Interface Toolbox 不能在 64 位二进制文件中工作。
苹果的文档说:
Carbon 帮助管理器不适用于 64 位应用程序。
...
控制管理中心不适用于 64 位应用程序。
...
数据浏览器不适用于 64 位应用程序。
...
我只是想验证一下:
没有解决此问题的方法。
如果只是这样的话。为什么 Apple 的文档不简单地说明这一点?
I get the impression that Carbon Human Interface Toolbox does not work in 64-bit binaries.
Apple's documentation says:
The Carbon Help Manager is not available to 64-bit applications.
...
The Control Manager is not available to 64-bit applications.
...
The Data Browser is not available to 64-bit applications.
...
I just want to verify that:
There is no work-around around this.
If this is simply the case. Why don't Apple's documentation simply state it as such?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确实如此。来自 Carbon 开发人员 64 位指南:
来自 HIToolbox 发行说明:
一些 HIToolbox 和 HIServices 函数(例如 Carbon Event Manager 的热键 API)以及大量类型(例如
PhysicalKeyboardLayoutType
)和常量(例如 Event Manager 中的 ANSI 键码)逃脱了惩罚,这就是为什么框架本身没有被弃用/不可用。It does. From the 64-bit Guide for Carbon Developers:
From the HIToolbox Release Notes:
A few HIToolbox and HIServices functions (such as the Carbon Event Manager's hotkey API) and a lot of types (such as
PhysicalKeyboardLayoutType
) and constants (such as the ANSI key codes in Event Manager) escaped the axe, which is why the frameworks themselves are not deprecated/unavailable.Carbon 的创建是为了帮助人们从 OS 9 过渡到 OS X 的权宜之计。已经 10 年了,你现在应该已经过渡了。请注意,您有很好的伙伴 - Adobe 拒绝在 CS 中放弃 Carbon,直到他们意识到当 Snow Leopard 推出时他们将怀念 64 位的船。
Carbon was created as a stop-gap to help people transition from OS 9 to OS X. It's been 10 years, you should be transitioned by now. Note that you're in good company - Adobe refused to move off of Carbon for CS until they realized they were going to miss the 64 bit boat when Snow Leopard came out.