Launching Mac OS Application
Rick Daley
rpd at apple.com
Thu Jun 1 05:53:31 AEST 1989
In article <1906 at aucs.UUCP> ifocs9d at 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 at apple.COM
More information about the Comp.unix.aux
mailing list