home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18574 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.2 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!uwm.edu!zazen!doug.cae.wisc.edu!pochanay
  2. From: pochanay@cae.wisc.edu (Adisak Pochanayon)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: IntuitionBase
  5. Message-ID: <1993Jan12.111825.14265@doug.cae.wisc.edu>
  6. Date: 12 Jan 93 17:18:25 GMT
  7. References: <1993Jan11.054350.13351@daimi.aau.dk> <Dok9wB1w165w@ersys.edmonton.ab.ca>
  8. Sender: pochanay@cae.wisc.edu
  9. Organization: College of Engineering, Univ. of Wisconsin--Madison
  10. Lines: 17
  11.  
  12. In article <Dok9wB1w165w@ersys.edmonton.ab.ca> ruil@ersys.edmonton.ab.ca (Rui Lopes) writes:
  13. >Well, that's what I thought to, but IntuitionBase is a Library structure 
  14. >(ie. you declare it as: struct Library *IntuitionBase) but what I want is 
  15. >the IntuitionBase structure that holds current system information.  I was 
  16. >hoping that there would be some sort of function that would do this, but 
  17. >I can't find any.....
  18. >Later,
  19. >               Rui....
  20.  
  21.  
  22.    Ahem...  Check out the includes for Intuition...
  23.  
  24.    struct IntuitionBase *IntuitionBase;
  25.  
  26.    will do the trick.  The first member in an IntuitionBase structure is
  27. a library and then there is sytem information appended to it.  Using
  28. OpenLibrary() works just fine.
  29.