home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!purdue!mentor.cc.purdue.edu!mace.cc.purdue.edu!haynes
- From: haynes@mace.cc.purdue.edu (Carl W. Haynes III)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: System Extension sample source wanted!!
- Message-ID: <55395@mentor.cc.purdue.edu>
- Date: 29 Jul 92 09:11:58 GMT
- References: <1992Jul28.154357.10360@elroy.jpl.nasa.gov> <1992Jul29.050358.4513@monu6.cc.monash.edu.au>
- Sender: news@mentor.cc.purdue.edu
- Organization: Purdue University
- Lines: 38
-
- In article <1992Jul29.050358.4513@monu6.cc.monash.edu.au> ins712r@aurora.cc.monash.edu.au (Heng Chiang) writes:
- >minh@inst-sun1.jpl.nasa.gov (Minh Lang) writes:
- >: I am looking for some sample source for writing System Extension.
- >Me TOO! I have found a lot of source code for general applications
- >but I haven't seen any for control panels / extensions. I would
- >really like to know how people actually start writing extensions (INIT)
- >with the horrible lack of documentation.
-
- The best piece of documentation I've seen on writing INITs was an article
- by Eric Shapiro that I pulled off of AOL called "Writing INITs in Think C".
- I'm not sure if it's available in any of the archives. If you can't find
- it and don't have access to AOL let me know and I'll e-mail a copy to
- any one who wants it. This article has the best INIT shell I've seen.
-
- The second edition of Macintosh Programming Secrets also has info on writing
- inits, including patching traps. I personally think that someone should write
- a whole book on low-level stuff like drivers and inits.
-
- If your interested in communications, Programming with AppleTalk has an
- example of an INIT.
-
- The Macintosh C Programming Primer Vol II has an example of an INIT,
- although it does not patch any traps which is usually what you want to
- do when you write an INIT. However, it has a good example of a cdev.
-
- Personally, I learned how to write INITs by deciding on something that I
- wanted to do and posting lots of questions. Like most aspects of Mac
- programming, writing INIT's has a pretty steep learning curve, but the
- rewards definately are worth the effort.
-
- --
- Carl W. Haynes III
- Haynes Consulting Services || CWH3@aol.com
- PO Box 2715 || haynes@mace.cc.purdue.edu
- W. Lafayette, IN 47906 || hcs@applelink.apple.com
- ----------------------------------------------------------------------
- Macintosh Programming & Consulting -- I am currently seeking
- Macintosh development contracts, available immediately.
-