Desk Accessory Programming

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??
VoreAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PADCommented:
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
staggartCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.