File Code Problems
Quote:Originally posted by OneSadCookie
If you're running OS 8.6 or later you can do Carbon development. That gives you access to all the tasty bundle goodness people are using here. 8.1 gives you access to some of Carbon, but I'm not quite sure how much; whether CoreFoundation is included. My recollection is yes, but I could be wrong.
ANSI C's fopen call will get you access to the data fork of a file with a relative path if that's all you want. You'll still have to do bundle stuff when you port, but it'd be a solution for the moment.
There was a "standard" way of doing this sort of thing which involved passing a relative path and 0 volume & other flags to FSMakeSpec or something -- but I never did it myself. Somebody else?
I've thought about doing it carbon, but from what i've heard, often when a app in OS 8 or 9 works with CarbonLib, it doesn't mean it will work properly in OS X. Maybe someone can clarify this for me (the thought of making someone with OS X have to boot in OS 9 and then use CarbonLib to run the game seems rather unappealing)
Since I don't have access to a machine running X till at the earliest the end of summer i'm thinking i'll just stick with Classic for the time being. Plus once I get OS X (and finish this game, if it ever gets done) i'm going to try to delve into cocoa and see how that goes.
Regardless, I am going to buy a carbon book in the next few days at least, just need to figure which one I want. At least that will get me reasonably up to date with some things. But in the meantime if anyone does know a solution to my problem it would be much appreciated.
|Messages In This Thread|
File Code Problems - Tobi - Jun 9, 2002, 10:20 PM
File Code Problems - WFleming - Jun 11, 2002, 01:42 AM
File Code Problems - WFleming - Jun 11, 2002 04:10 AM
File Code Problems - WFleming - Jun 11, 2002, 03:58 PM
File Code Problems - WFleming - Jun 14, 2002, 04:14 PM
File Code Problems - WFleming - Jun 17, 2002, 05:13 PM
File Code Problems - WFleming - Jun 17, 2002, 06:54 PM
Possibly Related Threads...
|Recursively Packing Source Code Into One File?||daveh84||15||6,905||
Feb 3, 2010 08:36 PM
Last Post: AndyKorth
|Carbon File Code||Muffinking||5||4,684||
Jun 3, 2002 12:23 AM
Last Post: henryj