Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-07-22

Build Requirements: N/A

Runtime Requirements: Carbon Macintosh with 68030 processor or later, Open Transport 1.1 or greater installed. The sample can be compiled using the Open Transport 1.3 SDK and Metrowerks CodeWarrior Pro 1 or 2 or ETO 23

View Source Code:

Download Sample (“OTCodeResource.zip”, 15.4K)
Download Sample (“OTCodeResource.dmg”, 74.6K)



Description

This sample shows how to call Open Transport from a 68K code resource written in either Metrowerks CodeWarrior C or Symantec C for MPW. The sample creates a HyperCard XCMD which returns the default Ethernet address for the machine using Open Transport calls. Requirements: Macintosh with 68030 processor or later, Open Transport 1.1 or greater installed. The sample can be compiled using the Open Transport 1.3 SDK and Metrowerks CodeWarrior Pro 1 or 2 or ETO 23 Keywords: Open Transport, code resource, XCMD, CodeWarrior, MPW, 68K, ethernet address, hardware address

Document Revision History

Date Notes
2003-07-22First Version

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.