home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18848 < prev    next >
Encoding:
Text File  |  1992-11-24  |  2.2 KB  |  46 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!brunix!brunix!omh
  3. From: omh@cs.brown.edu (Owen M. Hartnett)
  4. Subject: Re: Developing programs for low-end Macs
  5. Message-ID: <1992Nov24.013934.16120@cs.brown.edu>
  6. Sender: news@cs.brown.edu
  7. Organization: Brown University Department of Computer Science
  8. References: <1992Nov13.181736.25732@udel.edu> <2828@tau-ceti.isc-br.com>
  9. Date: Tue, 24 Nov 1992 01:39:34 GMT
  10. Lines: 34
  11.  
  12. In article <2828@tau-ceti.isc-br.com> jimc@tau-ceti.isc-br.com (Jim Cathey) writes:
  13. >In article <1992Nov13.181736.25732@udel.edu> sethi@pokey.cis.udel.edu (Adarshpal S Sethi) writes:
  14. >>I am developing a program using Think C that is
  15. >>required to run under both System 6 and System 7
  16. >>as well as on low-end Macs including the 128K and
  17. >>512K Macs. The only machines available to me are
  18. >>the Mac SE and the MAC II. My question is: What
  19. >
  20. >I had heard that Think C 5.0 is unable to do this.  I'm doing exactly
  21. >this (and I've tested down to Sys 3.2 --- I even allow for MFS.  If I
  22. >ever find something older I'll try it on it, too).  I'm using Think C
  23. >4.0, and probably cannot upgrade if I want my program to work in all
  24. >my customer environments. 
  25.  
  26. Here's the rub on Think C, and why I switched to Think Pascal after
  27. I encountered it.  Think C uses HGetState and HSetState, which only appears
  28. in Volume IV of Inside Mac, not in the original first three.  If you
  29. happen to be running a System prior to this (pre-MacPlus System software),
  30. you are hosed.  At least this is what Think C used to do many years ago, but
  31. at the time a Think engineer (don't think that Think was Symantec then), replied
  32. that they weren't going to change it, you better upgrade to new system
  33. software or crash.  I think they looked at the platform, i.e. if you had a
  34. Plus, they figured you were using a later version of System Software, but
  35. if you weren't, it crashed.  Took a while to find that one out.  That's back
  36. in the days when everyone was shipping system software with their apps
  37. and I wanted a "One version fits all Macs" solution.
  38.  
  39. -Owen
  40.  
  41.  
  42. Owen Hartnett                omh@cs.brown.edu
  43. "FAITH, n. Belief without evidence in what is told by one who speaks
  44.         without knowledge, of things without parallel."
  45.             -Ambrose Bierce - The Devil's Dictionary
  46.