[comp.sys.apple] Problems with carpetbag and DAinstall

steyn@eniac.seas.upenn.edu (Gavin Steyn) (01/22/90)

I've downloaded both the carpetbag proram and DAinstall, but neither seems
to work right.  Carpetbag goes through the motions of loading an NDA (accessing
the disk, and all), but the NDA itself does not appear under the apple.
  DAinstall, on the other hand, loads up the DAs, but then a system error 
occurs when I try to return to the desktop.  Occasionally, I don't get a system
error, but the desktop just freezes up.
  Any help would be much appreciated.
   Thanks,
     Gavin Steyn
steyn@eniac.seas.upenn.edu

dlyons@Apple.COM (David A. Lyons) (02/05/90)

In article <1072@madnix.UUCP> jason@madnix.UUCP (Jason Blochowiak) writes:

[InstallNDA doesn't work from an NDA under 5.0+]

This actually isn't a bug--it's a side-effect of some changes made in
the desk manager to avoid potential re-entrancy problems.

The solution is to use SchAddTask (see Scheduler chapter of TB Ref Volume
2) to schedule a call to a procedure that calls InstallNDA.  The call
will happen when the BUSY flag gets down to zero, at which point the
Desk Manager's data structures will be available for InstallNDA to
modify.

(This tip will appear in a March 1990 Technical Note.)

-- 

 --David A. Lyons, Apple Computer, Inc.      |   DAL Systems
   Apple II Developer Technical Support      |   P.O. Box 875
   America Online: Dave Lyons                |   Cupertino, CA 95015-0875
   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons
   
   My opinions are my own, not Apple's.