No Carbon Human-Interface-Toolbox in 64bit OSX binaries?

I am under the impression that the Carbon Human Interface Toolbox does not work on 64 bit binaries.

Apple documentation says:

Carbon Help Manager is not available for 64-bit applications.

...

Control Manager is not available for 64-bit applications.

...

Data Browser is not available for 64-bit applications.

...

I just want to check that:

  • This is not enough.

  • If it is true. Why doesn't Apple's documentation just state this as such?

+2


a source to share


2 answers


I am under the impression that the Carbon Human Interface Toolbox does not work in 64 bit binaries .... I just want to check that:

  • This is not enough.
  • If it is true. Why doesn't Apple's documentation just state this as such?

This is true. From the 64-bit Carbon Developers Guide :

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



From the HIToolbox Release Note :

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

Several HIToolbox and HIServices features (such as the Carbon Event Manager hotkey API) and many types (such as PhysicalKeyboardLayoutType

) and constants (such as the ANSI keycodes in the Event Manager) have broken out of the ax that why frameworks themselves are not obsolete / unavailable.

+5


a source


Carbon was created as a stop loss to help people move from OS 9 to OS X. It was 10 years old, and now you have to go. Note that you're in good company - Adobe gave up on ditching Carbon for CS until it realized it was going to skip the 64-bit boat when Snow Leopard came out.



0


a source







All Articles