[comp.sys.mac.programmer] Problem with Think C 4.0. Help!

s36572u@puukko.hut.fi (Karl Tigerstedt) (02/13/91)

    I'm a newcomer to programming C on the mac, so have patience.

I typed in the "Hello World" code found in MacUser, April 1990 - issue.
When I bring the project up to date, everything seems ok, but when I check
the link, I get the following result:

undefined: thePort (Varlden.c)
undefined: FlushEvents (Varlden.c)

What header(s) should I include??? I did exactly as the article instructed,
but no luck....
I tried #include <EventMgr.h>,<QuickDraw.h> etc...

Help!

---------------------------------------------------------------------------
"I have only come here seeking knowledge.
 Things they would not teach me of in college"    - The Police
*** Karl Tigerstedt , email s36572u@puukko.hut.fi ***

trotter@ENUXHA.EAS.ASU.EDU (Russell T. Trotter) (02/14/91)

You can try add-ing Mactraps to your project file