home *** CD-ROM | disk | FTP | other *** search
- /*******************************************************/
- /* Syntax in table EHSHMLNK.DAT */
- /* ============================ */
- /* To call a DLL use: */
- /* ------------------ */
- /* type=<type>;PROGRAM=<name1>;comment1 */
- /* or */
- /* type=<type>;DLL=<name1>;comment1 */
- /* or */
- /* To call a EXE use: */
- /* ------------------ */
- /* type=<type>;EXE=<name2> <parms>;comment1 */
- /* or */
- /* To call a CMD file use: */
- /* ----------------------- */
- /* type=<type>;CMD=<name2> <parms>;comment1 */
- /* */
- /* where */
- /* ======= */
- /* <type> is the Type of the the hypermedia */
- /* object (e.g. Metafile, Bitmap,...) */
- /* */
- /* <name1> is the name of a customer-provided */
- /* DLL with an entry point EHS_HMX */
- /* (see programmer's reference for SM/2) */
- /* Specify the name without extension. */
- /* The DLL must be in the LIBPATH. */
- /* */
- /* <name2> is the name of a customer-provided */
- /* .EXE or .CMD to be started. */
- /* The program must either be located in */
- /* one of the PATH directories or be */
- /* fully qualfied including the correct */
- /* file extension. */
- /* */
- /* <parms> is the parameter string passed to the */
- /* .EXE or .CMD program. This parameter */
- /* string can contain the following */
- /* substitution characters: */
- /* */
- /* %d for the fully qualified document-id */
- /* of the document that contains the */
- /* hypermedia link */
- /* */
- /* %o for the object-id of the */
- /* hypermedia link */
- /* */
- /* */
- /* Examples */
- /* ======== */
- /* type=image;PROGRAM=ehshihyp; to call EHSHIHYP.DLL */
- /* type=image;DLL=ehshihyp; to call EHSHIHYP.DLL */
- /* type=image;EXE=ehshiexe %d %o; to call EHSHIEXE.EXE */
- /* type=audio;CMD=c:\tools\Multimedia.cmd PLAY %o; */
- /*******************************************************/
- type=image;PROGRAM=ehshihyp;
- type=mmpm;CMD=play file=%o;