TWAIN for Mac OS X Release Notes

Overview

TWAIN for Mac OS X provides support for the TWAIN standard under Mac OS X, version 10.1.3 or later. Due to several of the issues discussed below, TWAIN for Mac OS X does not provide backwards compatibility with previous versions of TWAIN for Macintosh.

The TWAIN Working Group has worked closely with Apple on this release to provide the best experience for TWAIN users on Mac OS X. Apple plans to ship the DSM as part of the system software beginning with Jaguar.

Changes to the DSM

System Framework

The TWAIN DSM is no longer packaged as a Code Fragment Manager (CFM) shared library, but as a system framework (TWAIN.framework) linked against Carbon.framework. TWAIN.framework should be located in /System/Library/Frameworks.

TWAIN.h

TWAIN.h is public header of TWAIN.framework. The Data Argument Type, DAT_CALLBACK, was added to the DG_CONTROL Data Group. The Messages, MSG_REGISTER_CALLBACK and MSG_INVOKE_CALLBACK, were added for use with DAT_CALLBACK. These additions are currently Mac OS X specific, but may be used on other platforms in future versions.

Alignment

68k alignment pragma's have been removed from the TWAIN.h header file. PowerPC alignment should be used for both Sources and applications.

Building Applications

Applications which have already integrated TWAIN for Mac OS X should function without modification due to the CFM glue shared library (TWAIN Source Manager.shlb). CFM applications should not use the CFBundle APIs to load TWAIN.framework. When designing future revisions packaged using the Mach-0 executable format, application manufacturers should plan to implement the preferred callback mechanism and load TWAIN.framework directly (bypass the glue).

Building Data Sources

While current applications will continue to function, Data Source manufacturers must make the following modifications.

For CFM Sources, link against CarbonLib instead of InterfaceLib and do not globally share data sections.

Known Issues

None.

Change History

Final Release - 24 August 2002

Public Preview 4 - 31 May 2002

Feedback

Please direct comments to twain-mac@twain.org

Last modified: 06 August 2002