Solved

Desk Accessory Programming

Posted on 1997-05-11
2
468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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