Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!sunic!draken!d88-jwa From: d88-jwa@nada.kth.se (Jon W{tte (yes it's a hyphen !)) Newsgroups: comp.sys.mac.programmer Subject: Re: Think C Request Message-ID: <2144@draken.nada.kth.se> Date: 23 Oct 89 21:13:42 GMT References: <541@sunfs3.camex.uucp> <2937@husc6.harvard.edu> Reply-To: d88-jwa@nada.kth.se (Jon W{tte) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 28 In article <2937@husc6.harvard.edu> siegel@endor.UUCP (Rich Siegel) writes: >>When the resource file for a project is not available (because I have >>it open ResEdit), Think C should complain instead simply letting my >>program die. > A more flexible way to do it would be to have a check box in >the "Set Project Type" dialog indicating that a resource file should be >used, as THINK Pascal does it. > Not everybody uses resource files, so giving an error when there >isn't one is not correct behavior. No, but I don't think that's the point. OK, I had to actually look ain the index and READ how to get resource files into your project short of pasting the resources into the project file, but the point here is that if you have specified a resource file, and it can't be opened, the environment should warn you and give you a chance to bail out. After all, "File not found" and "File busy" are different error conditions both on the IBM PC, under UNIX, and on the Mac 8) Happy Hacking ! h+@nada.kth.se -- $400,000,000,000 is a large sum of money.