OSX 64位二进制文​​件中没有Carbon Human-Interface-Toolbox? [英] No Carbon Human-Interface-Toolbox in OSX 64-bit binaries?

查看:117
本文介绍了OSX 64位二进制文​​件中没有Carbon Human-Interface-Toolbox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的印象是Carbon Human Interface Toolbox在64位二进制文​​件中不起作用.

I get the impression that Carbon Human Interface Toolbox does not work in 64-bit binaries.

Apple的文档说:

Carbon Help Manager不适用于64位应用程序.

The Carbon Help Manager is not available to 64-bit applications.

...

控制管理中心不适用于64位应用程序.

The Control Manager is not available to 64-bit applications.

...

数据浏览器不适用于64位应用程序.

The Data Browser is not available to 64-bit applications.

...

我只想验证一下:

  • 没有解决方法.

  • There is no work-around around this.

如果仅仅是这种情况. Apple的文档为什么不这样简单说明呢?

If this is simply the case. Why don't Apple's documentation simply state it as such?

推荐答案

我的印象是Carbon Human Interface Toolbox在64位二进制文​​件中不起作用. ……我只想验证一下:

I get the impression that Carbon Human Interface Toolbox does not work in 64-bit binaries. … I just want to verify that:

  • 没有解决方法.
  • 如果只是这种情况. Apple的文档为什么不这样简单说明呢?

是的.摘自《面向碳开发商的64位指南》 :

It does. From the 64-bit Guide for Carbon Developers:

尤其是,用于实现Carbon用户界面的API通常仅对32位应用程序可用.如果要为Mac OS X创建64位应用程序,则需要使用Cocoa来实现其用户界面.

In particular, the APIs used to implement a Carbon user interface are generally available only to 32-bit applications. If you want to create a 64-bit application for Mac OS X, you need to use Cocoa to implement its user interface.

HIToolbox发行说明:

HIToolbox和HIServices框架可用于64位应用程序,但并非所有API都可用.特别是,没有用于创建和管理UI元素(菜单,窗口和视图)的HIToolbox API.使用Cocoa来为64位应用程序构建UI.

The HIToolbox and HIServices frameworks are available for use in 64-bit applications, but not all APIs are available. In particular, the HIToolbox APIs for creating and managing UI elements (menus, windows, and views) are not available. Use Cocoa to build the UI for a 64-bit application.

一些HIToolbox和HIServices函数(例如Carbon Event Manager的热键API)以及许多类型(例如PhysicalKeyboardLayoutType)和常量(例如Event Manager中的ANSI键代码)使轴逃脱了,这是为什么框架本身不被弃用/不可用.

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.

这篇关于OSX 64位二进制文​​件中没有Carbon Human-Interface-Toolbox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆