Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ucsd!rutgers!bellcore!texbell!killer!pollux!ti-csl!m2!holland From: holland@m2.csc.ti.com (Fred Hollander) Newsgroups: comp.sys.mac.programmer Subject: Re: Document Icon Stopped Working Message-ID: <76309@ti-csl.csc.ti.com> Date: 30 Apr 89 01:23:49 GMT References: <75966@ti-csl.csc.ti.com> <22526@dhw68k.cts.com> Sender: news@ti-csl.csc.ti.com Reply-To: holland@m2.UUCP (Fred Hollander) Organization: TI Computer Science Center, Dallas Lines: 25 In article <22526@dhw68k.cts.com> thecloud@dhw68k.cts.com (Ken McLeod) writes: >In article <75966@ti-csl.csc.ti.com> holland@m2.csc.ti.com (Fred Hollander) writes: >>I've got an INIT that I've recently changed to type 'cdev' (from 'INIT'). >>Now the icon no longer shows up in Finder. I've changed the 'BNDL', 'FREF' >>and 'ICN#' resource ID's to -4064. Is there anything else that's different? > > Simply changing the IDs is not enough, as you guessed. You'll also need >to open the FREF resource and change the filetype it contains (from 'INIT' >to 'cdev'). Then, open the BNDL resource and change the ID numbers for >the ICN# and FREF that appear there (in the "Resource ID" fields) to -4064. >Finally, rebuild the Desktop file (or else copy the INIT to a blank floppy >and rebuild *its* Desktop file; much quicker). I should have been more thorough on the changes that I made, but, I did all of the above. Someone else (sorry, lost the msg) suggested that I add a signature resource and now it works. It seems strange that it worked before without the signature. Feels like messing around with black magic. Thanks to all who sent me suggestions. Fred Hollander Computer Science Center Texas Instruments, Inc. hollander@ti.com The above statements are my own and not representative of Texas Instruments.