I generally just have people put help files in the same folder as the routine, then use a startapp type command to run
them. Like (CT-WINRUN "myhelp.hlp")
(DEFUN C:CT-WINRUN (NAME / )
(IF (NOT (SETQ FILENAME (FINDFILE NAME)))
(PROGN
(ALERT (STRCAT "File " NAME " cannot be found."))
(VL-EXIT-WITH-VALUE 1)
)
)
(IF (NOT (FINDFILE (STRCAT (GETENV "SYSTEMROOT") "\\EXPLORER.EXE")))
(PROGN
(ALERT (STRCAT "Explorer cannot be found so file cannot be run."))
(VL-EXIT-WITH-VALUE 1)
)
)
(vl-arx-import 'Startapp)
(STARTAPP (STRCAT (GETENV "SYSTEMROOT") "\\EXPLORER.EXE") FILENAME)
)
mulligan
|>I have created my own .HLP file and call it from within my application (using "help" command). However, unlike my .DCL files, if I try to include the .HLP file as a "Resource File" in my .VLX compile, the application will not find the file.
|>
|>How do you package a .HLP file with your application, so that when you publish it to others (i.e., send them a .VLX), the HELP file is available to calls from within the application?
|>
|>George Mulligan
James Maeding
Civil Engineer/Programmer