home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15689 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.6 KB

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