Solved

Desk Accessory Programming

Posted on 1997-05-11
2
459 Views
Last Modified: 2013-12-26
What would I need to begin to program an old Desk Accessory for the Mac??  Are there any freeware/shareware mac compliers??  What is the best commercial software to program on the Mac??  Is there any software that will allow Mac programs to be complied on a PC??
0
Comment
Question by:Vore
2 Comments
 
LVL 1

Expert Comment

by:PAD
ID: 1291455
If don't know Freeware/Shareware compiler, but the best environment for mac is CodeWarrior from Metrowerks, they sold this environment in several graded pack from MacOS only to MacOs, Windows32, BeBox, PowerTV, PlayStation, and much more

See there web site for more information www.metrowerks.com

No easy environment exist for real cross platform developpement (PC/MacOS) except large tools (like XVT) which are expensive, slow, long and diffucult to learn and not powerful...

0
 

Accepted Solution

by:
staggart earned 50 total points
ID: 1291456
To program a desk accessory for the mac you will need a compiler.  I recommend either Metrowerks C or Symantec C (assuming you will use C which is now the language of choice for the Mac).  My choice would be for Metrowerks since they are updating their products whereas Symantec is milking the proverbial cash-cow dry.

In any event, both of these compiler packages have sample desk-accessory programs which you could start with.  Note that with System 7 and newer, you do not need to nor should you write a desk accessory.  Instead, just write a small application and it will act like a DA in system 7 if you place it in the Apple Menu items or Control Panels folder.

If you do choose to write a DA for an older system, debugging can be kind of tricky - you cannot use the source code debuggers because a true DA runs in a special environment.  I would recommend the TMON debugger, but you must be GOOD at assembly language.  For this reason, I would try to get your customer to run System 7 so you can debug using good source code tools since you will be debugging a regular C app and not a old-stlye DA.

As far as public-domain or sharware compilers/development systems, I don't think there are any that allow you to devlop DAs (or for that matter, serious apps).

In addition to the sample DAs included with the above mentioned compilers, I am sure there are plenty sample source code DAs on the public Mac sites.  Start with www.sharware.com and go from there.

Good luck, Scott.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl Awk Need Help 3 129
Separate into files by filename 12 87
Best tools for Backup and restore of Wordpress site 6 57
has77  challenge 9 90
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question