Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Carbon OS 9 compat question

Carbon OS 9 compat question
Thread Tools
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Dec 10, 2002, 09:42 AM
 
Hi, I'm in need of making an application that runs on both OS X and OS 9. Therefore, I'm going to be making the temporary plunge into Carbon. What I haven't found to date was how to set up a Carbon app to run on both. That is, I can set up a Carbon app in Project Builder (I'm guessing that a nib based Carbon app would not run on OS 9, or am I wrong?) and compile the simple example code automatically created, but if I "Get Info" on the built application, there isn't an option to have it launch in Classic, which there normally would be.

Thanks,
Matt Fahrenbacher
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Dec 10, 2002, 12:12 PM
 
To my knowledge, Project Builder only compiles Mach-O files. In order to run in OS 9, it has to be CFM.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Dec 10, 2002, 03:24 PM
 
So... how would I go about creating a Carbon app if not with Project Builder? Would I have to purchase Code Warrior or something?

Matt
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Dec 10, 2002, 03:39 PM
 
CodeWarrior and MPW are the only ways I know of.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Dec 10, 2002, 04:07 PM
 
And CodeWarrior is the only one that run on OS X... MPW you'd have to be in 9 to program with.

I believe nibs and CarbonEvents and such are supported in newer versions of CarbonLib, though. So you can probably still use those. Just be careful about how far back you need to go: only the really old CarbonLib versions work on 8.1 thru 8.6, and some of the newer ones require 9.2.x. You might end up needing to distribute CarbonLib with your app (or point people to where to download it).
(Last edited by Rickster; Dec 10, 2002 at 04:16 PM. )
Rick Roe
icons.cx | weblog
     
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Dec 10, 2002, 04:15 PM
 
Originally posted by Rickster:
And CodeWarrior is the only one which you can do development in OS X with.

I believe nibs and CarbonEvents and such are supported in newer versions of CarbonLib, though. So you can probably still use those. Just be careful about how far back you need to go: only the really old CarbonLib versions work on 8.1 thru 8.6, and some of the newer ones require 9.2.x. You might end up needing to distribute CarbonLib with your app (or point people to where to download it).
Grrr... hmmm, I wish I knew where my beta version of Code Warrior went... too bad it's this much of a challenge for backwards compatibility.

Thanks,
Matt
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Dec 10, 2002, 04:21 PM
 
Depending on what you need to do (and on how much a stomach you have for AWT/Swing craziness), you might want to look at Java for apps that run on both OS X and OS 9.
Rick Roe
icons.cx | weblog
     
Senior User
Join Date: Aug 2002
Status: Offline
Reply With Quote
Dec 10, 2002, 10:01 PM
 
Another possibility is REALbasic. A lot of developers will slam it as a programming environment that allows poor programmers to write crappy code. But if you're a decent programmer with a good grasp of proper programming techniques, then it can be a valuable tool, especially for multi-platform development.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:56 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2