home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!sirius.ucs.adelaide.edu.au!jpotter
- From: jpotter@sirius.ucs.adelaide.edu.au (Jonathan Potter)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: IDCMP_CLOSEWINDOW weirdness
- Date: 11 Nov 1992 17:29:00 GMT
- Organization: Information Technology Division, The University of Adelaide, AUSTRALIA
- Lines: 23
- Message-ID: <1drfssINNlb7@huon.itd.adelaide.edu.au>
- References: <23769@galaxy.ucr.edu>
- NNTP-Posting-Host: sirius.itd.adelaide.edu.au
- Keywords: GUI
-
- In article <23769@galaxy.ucr.edu> ezix@ucrengr.ucr.edu (edward j. zix) writes:
- >
- > I recently decided to try to do some Amiga GUI programming and
- >I bought the RKM 3rd edition Libraries book and ftp'd FF741 and FF742
- > When I tried to compile the easyintuition.c and easyintuition37.c
- >programs, I get LINE 122 undefined symbol IDCMP_CLOSEWINDOW. What gives?
- >Has anybody else had this problem. I have gcc-2.2.2 and Lattice 5.10.
- >Both produce the same errors. (They both work fine for non GUI prg.)
-
- Make sure you're using the 2.0 include files. IDCMP_xxxx was introduced
- into the 2.0 include files; in older include files it will be defined as
- just xxxx (so for example, CLOSEWINDOW instead of IDCMP_CLOSEWINDOW).
-
- If you still can't get it to work, add this line to your source code :
-
- #define IDCMP_CLOSEWINDOW 0x00000200
-
- Jon
- --
- | Jonathan Potter | | A |
- | P.O. Box 289 | jpotter@itd.adelaide.edu.au | Suffusion |
- | Goodwood, SA | FidoNet : 3:680/829 | Of |
- | Australia 5034 | | Yellow |
-