Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!sandstorm.Berkeley.EDU!pdubois From: pdubois@sandstorm.Berkeley.EDU (Paul DuBois) Newsgroups: comp.sys.mac.programmer Subject: Problem with 6.0.7, si, or program? Summary: plea for help from novice programmer Message-ID: <1991Mar16.061349.3927@agate.berkeley.edu> Date: 16 Mar 91 06:13:49 GMT References: <0B010004.q6ucfa@outpost.UUCP> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: ucb Lines: 24 Please help! I am following the book Macintosh Programming Primer, and have run into a very frustrating problem. In one of the tutorial programs, Mondrian (for those who have the book), there is a recurring system error (coprocessor not installed) generated by the call PaintOval(&myRect) However, the error persists even when using PseudoFPU which normally works very nicely for me. I belive someone on the net said that the system error type does not always match the real problem and I believe this to be the case. Either way, though, I'm stuck at a dead end. Here is a short summary of what has gone on before the call to PaintOval() : ToolBoxInit() : calls InitGraf, InitFonts, FlushEvents, InitWindows, InitMenus, TEInit, InitDialogs, InitCursor then WindowInit(): GetNewWindow(...), ShowWindow(myWind), SetPort(myWind) then myRect is initialized to some nice, reasonable values (like 5 and 10); I'm not trying to draw outside my boundaries, and THEN the fatal PaintOval(&myRect) is called. The WIND resource being used worked fine with a previous program (a Hello World :) so I don't think that's part of the problem. Any help would be greatly appreciated! pdubois@ocf.berkeley.edu