home *** CD-ROM | disk | FTP | other *** search
- 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
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: undefined: screenBits. WHY???
- Message-ID: <1993Jan26.023402.370@physc1.byu.edu>
- From: seth@physc1.byu.edu
- Date: 26 Jan 93 02:34:02 -0700
- References: <1993Jan26.021801.369@physc1.byu.edu>
- Distribution: world
- Organization: Brigham Young University
- Lines: 29
-
- In article <1993Jan26.021801.369@physc1.byu.edu>, seth@physc1.byu.edu writes:
- > I hope that by the time you read this I will have found the answer myself,
- > but I doubt it...
- > Here goes. I have this code snippet in my C program:
- >
- > *aRect = screenBits.bounds;
- >
- >
- > WHen I compile there is no prblem, BUT when I link I get a link error that
- > says "undefined: screenBits"
- > Now why is that? what do I have to include to get screenbits to be known? The
- > THINK Reference (1.0) and ObiWan both report my spelling as being fine. I am
- > at my wits' end by now. In THINK Pascal this worked just fine. What in the
- > heck can I do?
- >
- > Thanks,
- > Seth Leigh
- > BYU Physics Dept.
- >
-
-
- Well, I should have known... Nothing like posting your question to make you
- find it any quicker. I finally found that the library MacTraps must be added
- for the QuickDraw globals to be defined.
- Seth
-
-
-
-
-