home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-04 | 6.4 KB | 141 lines | [TEXT/CWIE] |
- // MADE - Macintosh Application Development Essentials
- // ---------------------------------------------------
-
- // (c) Gideon Greenspan, Sig Software - June 1997 - http://www.kagi.com/gdg/
-
- // These files can only be used for experimental standalone purposes. To obtain
- // fully commented code, and licenses for standalone, shareware, internal and
- // commercial usage, run the enclosed Register application.
-
- What is Macintosh Application Development Essentials?
- -----------------------------------------------------
-
- MADE is a tiny package of C/C++ code which provides all the lowest-level
- needs for a Macintosh application. It is designed for people who are
- learning, or know how to program Macs, but don't have the time, energy or
- desire to write basic menu, event, memory and error handling routines.
-
- MADE doesn't include any pane, window, dialog, file, networking, graphics,
- printing, clipboard, text, control, list or other routines. There are several
- reasons for this:
-
- * Every application needs a different subset, and MADE is for all applications.
- * A programmer will want to handle these in the best way for their project.
- * Adding in such functionality would negate the benefits of the MADE package.
-
- As a result, MADE is extremely small, fast to compile, and easy to understand.
-
-
- How will Macintosh Application Development Essentials help my project?
- ----------------------------------------------------------------------
-
- Despite its small size, MADE includes several features specifically
- designed to help the development process; allowing potential crashes to be
- caught before testing, and various methods to turn intermittent errors
- into ones that happen every time (perhaps you think that's a bad idea!)
-
- These are :
-
- * Support for Assertions - checks that get removed in final builds.
- * Memory trashing so code that accesses uninitialised memory always fails.
- * Memory block moving so code that just 'hopes' memory won't move always fails.
-
- These features are based on a book by Steve Maguire, published by Microsoft
- Press, entitled "Writing Solid Code - Microsoft's Techniques for Developing
- Bug-Free C Programs". It's an excellent reference, even if the title is a
- contradiction in terms!
-
- All of the above options are switchable in the Essential Settings.h file.
-
-
- What other features does Macintosh Application Development Essentials have?
- ---------------------------------------------------------------------------
-
- The other two areas in which MADE helps are AppleEvents and the Drag
- Manager. Despite the fact that some projects won't need these, they can be
- tricky to implement so I've put them in as switchable options.
-
- You'll still have to decide what to do with an Open, Print or Quit AppleEvent,
- or a received drag, but at least you've got a starting point.
-
-
- How do I get started using Macintosh Application Development Essentials?
- ------------------------------------------------------------------------
-
- If you add the resource and six source files to a Mac 680x0 or PowerPC
- project, you'll have a compilable and runnable application, containing
- just 3K of 680x0 code, 5K of PowerPC code, and 2K of resources under
- CodeWarrior. You won't notice the overhead, and you'd need it all anyway.
-
- Now it's worth looking at the following files :
-
- * Essential Settings.h - set up how much of MADE you want to use.
- * Essential Headers.h - see which routines are provided for your use.
- * Essential Prototypes.h - see which functions you need to write.
-
- The file User Functions.c contains some silly routines to complete an
- application's functionality - this is where you start working. You can also
- edit the other files, although this might make it harder to upgrade MADE.
-
-
- How does licensing for Macintosh Application Development Essentials work?
- -------------------------------------------------------------------------
-
- Macintosh Application Development Essentials is shareware.
-
- These files can only be used for experimental standalone purposes. To obtain
- fully commented code, and licenses for standalone, shareware, internal and
- commercial usage, you must register by sending payment.
-
- Payment is carried out either with the enclosed Register MADE program, or using
- a page on the World Wide Web. Payment may be made by cash, cheque, VISA,
- MasterCard, American Express or First Virtual.
-
- To purchase a registration on the World Wide Web :
- * Go to http://order.kagi.com/?BX
- * Wait for the Web browser to load up the page.
- * Enter name, address and eMail details into the fields provided.
- * Follow the rest of the instructions on the Web page.
-
- To purchase a registration using the register program :
- * Run the enclosed Register MADE application.
- * Enter name, address and eMail details into the fields provided.
- * Specify how many licenses of which type for Email Merge are required.
- * Enter payment details in the area provided.
- * Save, copy or print out the information, and forward to Kagi for processing.
-
- Email the registration purchase by copying the details to an eMail message
- (click Copy), and send to sales@kagi.com. Alternatively, print or save the
- details, and fax to (US) 510 652-6589, or post to : Kagi, 1442-A Walnut Street
- #392-BX, Berkeley, California, 94709-1405, USA. Please be patient, as eMailed
- registrations may take up to 3 days for processing, and faxes and postal mail
- may take up to 8 days.
-
- $20 for fully commented code and a standalone license
- $50 for fully commented code and a license to use in shareware
- $100 for fully commented code and a license to use in internal software
- $250 for fully commented code and a license to use in commercial software
-
- The commented code has about double the number of comments as this package.
-
-
- What has changed since version 1.0.1 of MADE?
- ---------------------------------------------
-
- Short answer : Very little.
- Long answer : The drag tracking handler now resets the GrafPort correctly, and
- some macros for initialising allocated memory are now fixed.
-
-
- What if I get stuck with Macintosh Application Development Essentials?
- ----------------------------------------------------------------------
-
- If you've bought a license, I am willing to answer reasonable enquiries. I am
- not about to write your next database for you, but I could give you some clues
- for implementing features or using parts of the Mac Toolbox. This offer is
- completely subject to my own discretion.
-
- If you have any bug reports, comments or suggestions, I'd be happy to hear them.
-
- (c) Gideon Greenspan, Sig Software - 4th June 1997 - http://www.kagi.com/gdg/
-