Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!samsung!usc!apple!vsi1!daver!tscs!usfvax2!ziggy!pollock From: pollock@ziggy.EDU (Wayne Pollock) Newsgroups: comp.sys.mac.programmer Subject: Re: Think C Request Message-ID: <1285@ziggy.EDU> Date: 23 Oct 89 17:33:24 GMT References: <541@sunfs3.camex.uucp> <69099@tut.cis.ohio-state.edu> Reply-To: pollock@ziggy.cmd.usf.edu.UUCP (Wayne Pollock) Organization: University of South Florida at Tampa Lines: 19 >In article <541@sunfs3.camex.uucp> kent@lloyd.UUCP (Kent Borg) writes: =>... Request for a very simple feature in Think C: => =>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. =>.... > The thing is, THINK C doesn't know if it should look for it. I >am assuming that everytime you run a project, THINK C tries to open a file >which is called .rsrc, and if the process fails THINK C assums >that there is no rsrc file needed for this project. This is probably correct; however, there is no reason that Think C can't first look for the file, then only try to open it if it exists. If it exists but can't be opened, Think C should issue a warning message. Wayne Pollock (The MAD Scientist) pollock@usfvax2.csee.usf.edu Usenet: ...!{gatech!uflorida!}usfvax2!pollock GEnie: W.POLLOCK