Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a Carbon API for getting/setting my Windows "space"?



On Nov 28, 2007, at 1:52 PM, Eric Schlegel wrote:

And... for bonus points, is there a way to call
them from my application under Leopard while still allowing my application to
run under Tiger?

You can weak-link against API that's only available in certain OS releases to allow your app to still launch on older versions of the OS.

This is accomplished by setting the "Mac OS X Deployment Target" build setting in the appropriate project or target build configuration in Xcode.


The "Mac OS X Deployment Target" build setting defines the lower bound for your application: The minimum Mac OS X version you want it to run on. The SDK you choose, on the other hand, defines the upper bound: The maximum Mac OS X version you want to be able to use API from.

I've seen a lot of developers say things like "I need to use the Mac OS X 10.3.9 SDK because I need to run on Panther" and that's not strictly the case, so I thought I'd point this out.

  -- Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Is there a Carbon API for getting/setting my Windows "space"? (From: Jeremy Friesner <email@hidden>)
 >Re: Is there a Carbon API for getting/setting my Windows "space"? (From: Eric Schlegel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.