ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >
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. |
|
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:
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). |
|