Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!apple.com!rpd From: rpd@apple.com (Rick Daley) Newsgroups: comp.unix.aux Subject: Re: Launching Mac OS Application Message-ID: <2142@internal.Apple.COM> Date: 31 May 89 19:53:31 GMT References: <1906@aucs.UUCP> Sender: usenet@Apple.COM Organization: Apple Computer Lines: 33 In article <1906@aucs.UUCP> ifocs9d@aucs.UUCP (Rick Giles) writes: > I'm trying to run a Macintosh OS application "foo" under A/UX 1.0. > I was able to mfs x foo over to A/UX, but when I give the command > launch foo, I get the following message: > > Unable to open "foo" as an application resource file. > > Could I have overlooked something, or is foo A/UX-dead? This message does not imply that foo is A/UX-dead. All it means is that the launch program called OpenResFile on foo, and OpenResFile failed. This can happen for several reasons. 1) The file is protected against you. Try using a UNIX command, such as cp, to see if this is the case. 2) The file is corrupted, and the Resource Manager can't figure it out. Try redoing the transfer, starting from a newly formatted floppy. If it still happens, try copying it as both an Apple-Single or an Apple-Double file. (Use the -d or -s options to mfs) It's possible that there is a bug in mfs that is corrupting the file, but I've never heard of such a bug. 3) You could be handing launch the wrong file name. If the file is in the Apple-Double format (data fork is in "foo", resource fork is in "%foo"), you still need to use the bare file name, in this case "foo". Don't use "%foo". By the way, I hope you get your copy of A/UX 1.1 soon. It is much more compatible with Macintosh applications. Also, hfx is easier to use than mfs. Rick Daley rpd@apple.COM