home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14631 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!gatech!hubcap!opusc!usceast!walkerj
  3. From: walkerj@math.scarolina.edu (Jim Walker)
  4. Subject: Re: Color Icons
  5. Message-ID: <walkerj.714944201@milo.math.scarolina.edu>
  6. Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
  7. Organization: USC  Department of Computer Science
  8. References: <1992Aug26.233800.21347@sagpd1>
  9. Date: 27 Aug 92 19:36:41 GMT
  10. Lines: 18
  11.  
  12. In <1992Aug26.233800.21347@sagpd1> bberqu@sagpd1 () writes:
  13. ...
  14. >I'm trying to use ModalDialog with a filterProc function which will
  15. >handle popupmenus,  when I call ModalDialog and just let it sit there
  16. >no mouse movement or anything, after a while, I get, I believe a system
  17. >error #26 according to MacsBug, all my filter proc function does is 
  18. ...
  19.  
  20. (Tried to mail, but it bounced.)
  21.  
  22. You sure it wasn't error 28, stack collides with heap?  That's probably
  23. what would happen if you were using C and forgot to declare the filterProc
  24. using the 'pascal' keyword, because ModalDialog would expect the filterProc
  25. to clean up the stack after itself, and a C routine expects the caller to
  26. clean up the stack.
  27. --
  28.  
  29.  -- Jim Walker  USC Dept. of Math.  walkerj@math.scarolina.edu
  30.