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