home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!news!benton.prepress.com!nuntius
- From: chris@benton.prepress.com (christopher m. knox)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: C problem using Rects
- Message-ID: <1992Sep9.192842.11886@prepress.com>
- Date: 9 Sep 92 19:28:42 GMT
- References: <1992Sep7.041900.24489@ccu.umanitoba.ca>
- Sender: usenet@prepress.com (Usenet login)
- Organization: Pre-Press Technologies, Inc.
- Lines: 19
- Nntp-Posting-Host: chris
- X-Useragent: Nuntius v1.1b2
-
- Subject: C problem using Rects
- From: David A. Denboer, umdenbo0@ccu.umanitoba.ca
- In article <1992Sep7.041900.24489@ccu.umanitoba.ca> David A. Denboer,
- umdenbo0@ccu.umanitoba.ca writes:
- >For some stupid reason, this followinf piece of code does not compile
- anymore.
- > OffsetRect(&dispBounds, -dispBounds.left, -dispBounds.top);
- >
- >In one project, it compiles fine.
- >If I move the code to another project, it will not compile again. It
- says
- >"Syntax Error", and my C compiler does not seem to know what a Rect
- is?!!!
-
- If you're using Think C, check whether MacHeaders is included. It may be
- in the prefix in one of your projects but not in the other. If that
- fails, include "Quickdraw.h" and try to compile.
- If THAT fails, consider another compiler... (haha)
- chris knox "Omne animal triste est post (or without) coitum"
-