home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!bill@cambridge.apple.com
- From: bill@cambridge.apple.com (Bill St. Clair)
- Newsgroups: comp.lang.lisp.mcl
- Subject: Re: can't find help file in standalone
- Message-ID: <9208211631.AA15593@cambridge.apple.com>
- Date: 21 Aug 92 17:36:31 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 26
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
- Full-Name: Bill St. Clair
- Original-To: wilcox@cmns.think.com
- Original-Cc: info-mcl
-
- >I'm using the file help-manager.lisp to add help balloons to my application,
- >and it works well. However, when I create a standalone and turn on help,
- >a dialog box appears with a message saying that it can't find some help
- >file, and do I wish to locate it? My help specs are in the application code
- >itself, not in a separate resource file or fork. How do I avoid this dialog?
-
- First, the two files "ccl:library;help-manager.lisp" and
- "ccl:library;resources.lisp" must be loaded into your application.
-
- Second, if you do not use a resource file for your application,
- you should specialize one of the methods:
-
- ccl::help-resource-file
- ccl::help-resource-file-refnum
-
- The easiest way to do this is:
-
- (defclass my-application (application) ())
-
- (setq *application* (make-instance 'my-application))
-
- (defmethod ccl::help-resource-file ((app my-application))
- nil)
-
- If you carefully peruse the source to "ccl:library;help-manager.lisp",
- you will see why this works.
-