home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!ames!data.nas.nasa.gov!taligent!apple!grobbins
- From: grobbins@Apple.COM (Grobbins)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Inside Mac VI: Time Manager code bugs?
- Message-ID: <74590@apple.apple.COM>
- Date: 23 Nov 92 03:33:51 GMT
- References: <1992Nov22.032228.16707@mcs.drexel.edu>
- Organization: Mac System Software Special Investigations
- Lines: 16
-
- In article <1992Nov22.032228.16707@mcs.drexel.edu> urritche@mcs.drexel.edu (Ralph Paul Ritchey) writes:
- >What is the problem?
- >...
- > procedure installTMTask;
- > var
- > mytminfo: tminfo;
-
- The task record is being declared as a local variable and
- allocated on the stack by the install routine. As soon as
- the install routine returns, the record evaporates... and
- the time manager is left without a task record use.
-
-
- Grobbins grobbins@apple.com
-
- Usual disclaimers apply.
-