Version: 1.0

Posted: 2004-08-17

Build Requirements: Xcode

Runtime Requirements: Mac OS X 10.1

View Source Code:

Download Sample (“SpellingChecker-CarbonCocoa-Bundled.zip”, 771.1K)
Download Sample (“SpellingChecker-CarbonCocoa-Bundled.dmg”, 1.11M)



Description

SpellCheck.pbproj implements a procedural C wrapper around the Cocoa NSSpellChecker and exports it as a Mach-O bundle called "SpellCheck.bundle".

The client Carbon application SpellingChecker contains SpellCheck.bundle within its bundles "Frameworks" directory and use the CFBundle APIs to access SpellCheck.bundle.

The SpellingChecker carbon application must be therefore be bundled, but can be either CFM or Mach-O.

Document Revision History

Date Notes
2004-08-17How to load and call a Cocoa bundle from a Carbon CFM or Mach-O application

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.