home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!wupost!gumby!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!ccu.umanitoba.ca!umdenbo0
- From: umdenbo0@ccu.umanitoba.ca (David A. Denboer)
- Subject: C problem using Rects
- Message-ID: <1992Sep7.041900.24489@ccu.umanitoba.ca>
- Organization: University of Manitoba, Winnipeg, Canada
- Date: Mon, 7 Sep 1992 04:19:00 GMT
- Lines: 20
-
- 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?!!!
- I have all the correct #includes, as it does work in one project, but not in
- any other. I checked the Compiler options, and they are also the same from
- project to project.
- Has anyone else had this problem?
-
- Thanks for any help!
- --
- David A. denBoer
- Musi Computer Products
- umdenbo0@ccu.umanitoba.ca
- --
- David A. denBoer
- Musi Computer Products
- umdenbo0@ccu.umanitoba.ca
-