home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 732 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: sky.in-berlin.de!jroger!jroger
  2. From: jroger@jroger.in-berlin.de (Sebastian Rittau)
  3. Subject: Re: Writing a .info file
  4. Message-ID: <732.6579T901T2541@jroger.in-berlin.de>
  5. Newsgroups: comp.sys.amiga.programmer
  6. X-Newsreader: THOR 2.22 (Amiga;UUCP) *UNREGISTERED*
  7. Date: 7 Jan 96 04:00:19 CET
  8.  
  9. In <19084183@cacios.locebbs.chnet.ch> Stefano Cairoli <Cacio@cacios.locebbs.chnet.ch> wrote:
  10.  
  11. >I need a little help with a problem that I have with the .info files.
  12. >I know how to read an icon file and how to scan the tooltypes records, but
  13. >I don't know how to change/add/delete a tooltype and then write the new
  14. >.info file back.
  15.  
  16. Get the diskobject with GetDiskObject(). diskobject.tooltypes is an array
  17. of string-pointers (string **, null-terminated). Just make a new array and
  18. put it to diskobject.tooltype and save it with PutDiskObject().
  19.  
  20. --
  21.   // Sebastian Rittau                jroger@jroger.in-berlin.de
  22. \X/  Amiga forever!!!                Jolly_Roger@h-raiser.berlinet.de
  23. http://www.in-berlin.de/User/jroger/index.html
  24.  
  25.