Article View: comp.sys.mac
Article #24776Re: INITsdir/new
From: joachim
Date: Thu, 04 Feb 1988 20:59
Date: Thu, 04 Feb 1988 20:59
25 lines
1333 bytes
1333 bytes
In article <3927@husc6.harvard.edu>, waldman@endor.harvard.edu (benjamin Waldman) writes: > Is there any difference between INITS in the system file, and INITs in INIT > files? > > One application I was using stuck an INIT in my system file, which annoyed > me, so I went into ResEdit, cut out the INIT, pasted it into a new file, > which I gave a type of INIT. > > Upon booting the computer, the INIT showed its icon, but then the computer > bombed - ILGL error in Macsbug I think. Why would this happen? Do INITs > have to be written differently to exist alone, outside the system file? > > Thanks, > Ben Waldman > waldman@endor.harvard.edu Inits in other files must take care for the following requirements (1) load to the system heap (sysbit) (2) lock if they modify anything (locked) (3) detached if they have to survive the CloseResFile the same must be true for all resources they use. Joachim Lindenberg, University of Karlsruhe Federal Republic of Germany - West Germany.
Technical Details
Message-ID:
<48@iravcl.ira.uka.de>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!unido!iraun1!iravcl!joachimReferences:
<3927@husc6.harvard.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!unido!iraun1!iravcl!joachim From: joachim@iravcl.ira.uka.de Newsgroups: comp.sys.mac Subject: Re: INITsdir/new Message-ID: <48@iravcl.ira.uka.de> Date: 4 Feb 88 20:59:07 GMT References: <3927@husc6.harvard.edu> Lines: 24 Organisation: Universitaet Karlsruhe, IRA, F.R. Germany