home *** CD-ROM | disk | FTP | other *** search
- Path: sky.in-berlin.de!jroger!jroger
- From: jroger@jroger.in-berlin.de (Sebastian Rittau)
- Subject: Re: Writing a .info file
- Message-ID: <732.6579T901T2541@jroger.in-berlin.de>
- Newsgroups: comp.sys.amiga.programmer
- X-Newsreader: THOR 2.22 (Amiga;UUCP) *UNREGISTERED*
- Date: 7 Jan 96 04:00:19 CET
-
- In <19084183@cacios.locebbs.chnet.ch> Stefano Cairoli <Cacio@cacios.locebbs.chnet.ch> wrote:
-
- >I need a little help with a problem that I have with the .info files.
- >I know how to read an icon file and how to scan the tooltypes records, but
- >I don't know how to change/add/delete a tooltype and then write the new
- >.info file back.
-
- Get the diskobject with GetDiskObject(). diskobject.tooltypes is an array
- of string-pointers (string **, null-terminated). Just make a new array and
- put it to diskobject.tooltype and save it with PutDiskObject().
-
- --
- // Sebastian Rittau jroger@jroger.in-berlin.de
- \X/ Amiga forever!!! Jolly_Roger@h-raiser.berlinet.de
- http://www.in-berlin.de/User/jroger/index.html
-
-