Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!mintaka!ogicse!decwrl!shelby!daemon From: brinkley@synapse.biostr.washington.edu (Jim Brinkley) Newsgroups: comp.sys.next Subject: file packages, NXMapFile Message-ID: <1219@shelby.Stanford.EDU> Date: 2 Feb 90 22:09:13 GMT Sender: daemon@shelby.Stanford.EDU Lines: 26 I have two questions: 1. I'd like to create a file package similar to Librarian.app for an application I'm writing, so I can include a help file in the package. I couldn't find any documention on how to actually create a file package, so I just made a directory called Myapp.app, and put the executable Myapp together with the help file in Myapp.app. That seems to work ok - when I double click on Myapp.app the correct application starts up. However, the icon associated with Myapp.app is the generic application icon rather than the custom one I associated with Myapp. So what I'd like to know is, 1) how do you get a custom application icon to be associated with the file package, and 2) is there some other way I'm supposed to create file packages? 2. When I do NXMapFile(filename, NX_WRITEONLY), the routine fails (ie can't open filename) unless it already exists. So I have to create an empty file with standard Unix commands first, after which the routine works. This doesn't seem to be the behaviour you'd want - so is this a bug or a feature, or am I doing something wrong? Thanks Jim Brinkley Dept. Biological Structure University of Washington