ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >

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:

NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Loading Applications Without QD3D

Q: I am using QuickDraw 3D 1.0 on a PowerMac 7100. If I try to launch my application when QuickDraw 3D is disabled with Extensions Manager, I get the message:

The application could not be opened because QuickDraw 3D could not be found

Since the application has to run even if the user does not have QD3D, what should I do ?

A: You are "hard" linking to the QuickDraw 3D shared library. Try "weak" linking to the library, instead. With Metrowerks CodeWarrior this is trivial: simply select the project window, click on the small triangle on the right side of the window, and check the Import Weak option from the popup menu. Use the gestalt selector for QuickDraw 3D to determine if the library exists, and take appropriate action if it does not exist (to avoid making calls to the non-existent library).

[Sep 15 1995]

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.