Thread: Macintosh API

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    3

    Macintosh API

    Hi there,

    I posted a question about directory access on the Macintosh a while ago here , and was advised to use the Macintosh API. However, after an amount of research, I am unsure how to go about using it.

    I am presuming that the API is basically a collection of Macintosh-specific libraries, with associated references. Is this correct? If so, where could I get a copy of these? If not, what exactly is the API, and how would I be able to use it?

    Thanks a lot,
    Bill Johnson

  2. #2
    Visionary Philosopher Sayeh's Avatar
    Join Date
    Aug 2002
    Posts
    212
    First, get a compiler that is made for atleast 68K and PPC development (and whatever the new CPU that IBM made for Apple is).

    This API is called the Macintosh Toolbox. It is a precompiled library of routines, replete with all the necessary headers, necessary to talk to Apple's O/S.

    You can't really build applications on the Mac unless you go whole hog into the API. You leave the C standard libraries behind for most things.

    On the Mac, everything is handled by a manager. Memory, Files, Interapplication Communications, Threading, Drivers, Resources, Strings, and Graphics drawing (using QuickDraw). All have their own managers. And more.

    It is a very well organized O/S, and is truly designed. In fact, it is the best designed operating system in the industry today, and has been for years (apart of any other aspect of the Mac). That is not a put down to other O/Ses, it just has the longest history of having been thought out and designed. Any "X" O/S (linux, UNIX, etc.) is excellent as well, it just is a little less standardised in the naming convention for commands.

    Here's what you do. Go to Apple's site-- they have tons of developer information, and as usual it's usually free. Get in line with Apple's DTS (Developer Tech Support) and knowledgebase stuff.

    Now, for your own reference, after you've obtained a copy of a compiler (like Metrowerks CodeWarrior-- best compiler in the industry), you _MUST_ get yourself the series of "Inside Macintosh" books-- the bible on how to develop software on the Mac.

    Hope this helps you in the right direction.
    It is not the spoon that bends, it is you who bends around the spoon.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. platform specific API or C standard API
    By George2 in forum C Programming
    Replies: 1
    Last Post: 11-12-2007, 01:32 AM
  2. OpenSSL and Win32 SSL API :: SSL/TLS
    By kuphryn in forum Networking/Device Communication
    Replies: 0
    Last Post: 03-10-2004, 07:46 PM
  3. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM
  4. OLE Clipboard :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2002, 05:57 PM
  5. Is it foolish to program with Win32 API ?
    By Kelvin in forum Windows Programming
    Replies: 2
    Last Post: 07-09-2002, 02:03 PM