home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15155 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!wupost!gumby!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!ccu.umanitoba.ca!umdenbo0
  3. From: umdenbo0@ccu.umanitoba.ca (David A. Denboer)
  4. Subject: C problem using Rects
  5. Message-ID: <1992Sep7.041900.24489@ccu.umanitoba.ca>
  6. Organization: University of Manitoba, Winnipeg, Canada
  7. Date: Mon, 7 Sep 1992 04:19:00 GMT
  8. Lines: 20
  9.  
  10. For some stupid reason, this followinf piece of code does not compile anymore.
  11.         OffsetRect(&dispBounds, -dispBounds.left, -dispBounds.top);
  12.  
  13. In one project, it compiles fine.
  14. If I move the code to another project, it will not compile again.  It says
  15. "Syntax Error", and my C compiler does not seem to know what a Rect is?!!!
  16. I have all the correct #includes, as it does work in one project, but not in
  17. any other.  I checked the Compiler options, and they are also the same from
  18. project to project.
  19. Has anyone else had this problem?
  20.  
  21. Thanks for any help!
  22. --
  23. David A. denBoer
  24. Musi Computer Products
  25. umdenbo0@ccu.umanitoba.ca
  26. -- 
  27. David A. denBoer
  28. Musi Computer Products
  29. umdenbo0@ccu.umanitoba.ca
  30.