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-01-14

Build Requirements: N/A

Runtime Requirements: Carbon MPW C 3.2.2 or later

View Source Code:

Download Sample (“ASLM_C++.zip”, 10.6K)
Download Sample (“ASLM_C++.dmg”, 67.5K)



Description

This snippet shows how to turn a generic C++ class (not Pascal/Handle object based) into a Shared Library class. The Makefile is a suitable template for similar work. Some of you wonder why the Makefile is not a typical Build style Makefile. Well, it makes sense to create a more flexible Makefile to generate libraries, than to create a makefile that assumes that you are always building an empty application or something similar. Requirements: MPW C 3.2.2 or later Keywords: Shared Library, library, C++

Document Revision History

Date Notes
2003-01-14First 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.