jmatthews@desire.wright.edu (03/07/91)
Greetings:
While running with Directory Assistance from the The Norton
Utilities for the Macintosh v1.0 (and no other INITs) on a
Macintosh II under system 6.0.5, I have observed an unusual
behavior in programs which call the standard procedure
SFGetFile (thereby using Directory Assistance). Each time the
the dialog is invoked, a non-movable 108 byte block of memory
is left behind in the application's heap. Repeated calls to
SFGetFile result in a fragmented heap. Removing Directory
Assistance from the System Folder eliminates the problem.
Here's my test code:
program SFTest;
var
sfPt: Point;
sfList: SFTypeList;
reply: SFReply;
begin
SetPt(sfPt, 100, 100);
repeat
SFGetFile(sfPt, '', nil, -1, sfList, nil, reply)
until false
end.
Have others encountered this? Is it Norton or something I'm
doing? I've written to them, but so far they haven't replied.
If you can confirm or deny this anomaly, send email and I'll
summarize.
| John B. Matthews, M.D. | "It's not what you don't know |
| jmatthews@desire.wright.edu | that hurts you; it's what you |
| am103@cleveland.freenet.edu | DO know that just ain't so." |