From: SMTP%"lionel@quark.enet.dec.com" 13-JUN-1994 17:52:51.05 To: EVERHART CC: Subj: Re: System service to implement "$ SET MESSAGE filespec" ??? From: lionel@quark.enet.dec.com (Steve Lionel) X-Newsgroups: comp.os.vms Subject: Re: System service to implement "$ SET MESSAGE filespec" ??? Date: 13 Jun 1994 18:26:54 GMT Organization: Digital Equipment Corporation, Nashua NH Lines: 26 Distribution: world Message-ID: <2ti8de$je2@jac.zko.dec.com> Reply-To: lionel@quark.enet.dec.com (Steve Lionel) NNTP-Posting-Host: quark.zko.dec.com X-Newsreader: mxrn 6.18-16 To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET In article <2ti5r8$dgg@jac.zko.dec.com>, vandenheuvel@eps.enet.dec.com (Hein RMS van den Heuvel) writes: |> |>In article <01HDDLFW4UUSQT5RQF@psulias.psu.edu>, "J.Lance Wilkinson, 814-865-1818" writes... |>>I have an application which needs to choose, at run time, between three or |>>more nonexecutable image message files. Once the choice is made, the chosen |>>message file is to become the process level message file for the duration of |>>the application. |> |> Be sure to check out LIB$FIND_IMAGE_SYMBOL To expand on Hein's (very good) hint, the way to do this is to ask LIB$FIND_IMAGE_SYMBOL to look up a symbol in the message section shareable image. It doesn't matter what symbol you ask for; the lookup will fail (and you'll get an error from LFIS), but just ignore the error; the image will now be merged in and you'll have the messages available. -- Steve Lionel Mail: lionel@quark.enet.dec.com SDT Languages Group WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For a summary of Digital's Internet services, send mail to info@digital.com