home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: FindTask() VERY IMPORTANT
- Date: 5 Apr 1996 10:41:12 +0200
- Organization: dis-
- Message-ID: <4k2mb8$d3@serpens.rhein.de>
- References: <sysop.02vc@sweetdreams.lahn.de>
- NNTP-Posting-Host: serpens.rhein.de
-
- sysop@sweetdreams.lahn.de (Matthias Bethke) writes:
-
- >Wasn't it you who told me that there's no OS rule telling a programmer to
- >allocate a FileInfoBlock with AllocDosObject() instead of just writing
- >someting like "static struct FileInfoBlock fib;"?
-
- I was telling you that there is no such rule because it would break
- old programs.
-
- >you *should* use AllocDosObject since OS2.0. If the structure *will* actually
- >grow, all programs with a "hardcoded" FileInfoBlock will probably fail.
-
- Correct.
-
- >Same
- >with FindTask(), of course one was *supposed* to use it, but software using
- >the other (legal!) alternative,
-
- No. It is not legal because there always was a function. AllocDosObject
- is new.
-
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-