home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22205 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1.3 KB

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!sol.ctr.columbia.edu!hamblin.math.byu.edu!yvax.byu.edu!physc1.byu.edu!seth
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: Re: undefined: screenBits.   WHY???
  4. Message-ID: <1993Jan26.023402.370@physc1.byu.edu>
  5. From: seth@physc1.byu.edu
  6. Date: 26 Jan 93 02:34:02 -0700
  7. References: <1993Jan26.021801.369@physc1.byu.edu>
  8. Distribution: world
  9. Organization: Brigham Young University
  10. Lines: 29
  11.  
  12. In article <1993Jan26.021801.369@physc1.byu.edu>, seth@physc1.byu.edu writes:
  13. > I hope that by the time you read this I will have found the answer myself,
  14. > but I doubt it...
  15. > Here goes. I have this code snippet in my C program:
  16. > *aRect = screenBits.bounds;
  17. > WHen I compile there is no prblem, BUT when I link I get a link error that
  18. > says "undefined: screenBits"
  19. > Now why is that? what do I have to include to get screenbits to be known? The
  20. > THINK Reference (1.0) and ObiWan both report my spelling as being fine. I am
  21. > at my wits' end by now. In THINK Pascal this worked just fine. What in the
  22. > heck can I do?
  23. > Thanks,
  24. > Seth Leigh
  25. > BYU Physics Dept.
  26.  
  27.  
  28. Well, I should have known... Nothing like posting your question to make you 
  29. find it any quicker. I finally found that the library MacTraps must be added
  30. for the QuickDraw globals to be defined. 
  31. Seth
  32.  
  33.  
  34.  
  35.  
  36.