Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Read Me About GetSetOptions.txt
Read Me About GetSetOptions for CodeWarrior |
(ProjectBuilder is below) |
2.0 |
This sample demonstrates a variety of uses of Open TransportÕs option management routines. The code from this sample is featured in the latest release (v1.2) of the book ÒInside Macintosh: Open TransportÓ. |
Packing List |
The package contains the following items items: |
¥ GetSetOptions.c Ñ Actual Source Code. |
¥ GetSetOptions.mcp Ñ A project to build the carbonized. |
¥ GetSetOptions(Carbon) Ñ A compiled version of the above. |
Sample Requirements |
I tested this code with Carbon 1.2.5 running under Mac OS 9 and on Mac OSX. The code should run just fine with Carbon 1.2.5 (or newer) and Universal Interfaces 3.3.2 (or newer). |
Running the Sample |
To run the sample, simply double click the application and read the output on the console window. |
Building the Sample |
The sample was built using the Metrowerks CodeWarrior IDE 4.1 environment Carbon SDK 1.2.5 and Universal Interfaces 3.3.2. Both the Carbon SDK and Universal intefaces can be downloaded from Apple website at : http://developer.apple.com/sdk/index.html |
To rebuild the sample, first open the project and change the ÒAccess PathsÓ to point to the interfaces and libraries from the Carbon 1.2.5 SDK (or newer) and the Universal Interfaces 3.3.2 (or newer). Then choose Make from the Project menu. |
Credits and Version History |
If you find any problems with this sample, mail <DevSupport@apple.com> with ÒAttn: QuinnÓ as the first line of your mail and IÕll try to fix them up. |
Version 2.0 Carbonized the Sample |
Version 1.0d1 is the first release. |
Share and Enjoy |
Quinn ÒThe Eskimo!Ó |
Apple Developer Technical Support |
Networking, Communications, Hardware |
2 Sep 1997 |
===== |
Read Me About ListMania For ProjectBuilder |
2.0 |
This sample demonstrates a variety of uses of Open TransportÕs option management routines. The code from this sample is featured in the latest release (v1.2) of the book ÒInside Macintosh: Open TransportÓ. |
Packing List |
The package contains the following items items: |
¥ GetSetOptions.pbproj Ñ Project Builder Project. |
¥ build/GetSetOptions Ñ The runnable sample code for OSX. |
¥ GetSetOptions.c Ñ Source code to the project. |
Sample Requirements |
I tested this code with CoreServices under OSX and with CarbonLib 1.3. |
Running the Sample |
To run the sample, simply double click the application "build/Listmania' and follow the onscreen instructions. Or you can run it at the command line using the terminal application.. |
Building the Sample |
The sample was built using ProjectBuilder which is included in developer package with OSX. |
To rebuild the sample, first open the project. Then choose Make from the Project menu. |
Credits and Version History |
If you find any problems with this sample, mail <DevSupport@apple.com> with ÒAttn: QuinnÓ as the first line of your mail and IÕll try to fix them up. |
Chad Jones |
Happy Coding |
Feb 16, 2001 |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14