From: MERC::"uunet!CRVAX.SRI.COM!RELAY-INFO-VAX" 19-JUN-1992 22:20:07.64 To: info-vax@sri.com CC: Subj: re: Problem with gethostbyname Kazuro Furukawa writes: > Please help me. I have a programming problem with VMS 5.5, > UCX 1.3 and VAXC 3.2. When I use gethostbyname(), it returns a > correct result. However, after I install the program with some > priviledge, it returns NULL. What is neccessary to install this > program with priviledges? >[...] Your INSTALLed program can only use INSTALLed shareable images. UCX gethostbyname() calls upon the shareable image SYS$SHARE:UCX$IPC_SHR.EXE which is *not* INSTALLed by default. Because it does so dynamically, you apparently get the silent failure instead of an error message. $ INSTALL add SYS$SHARE:UCX$IPC_SHR should do the trick (add qualifiers like /SHARE ad libitum). Wolfgang J. Moeller, GWDG, D-3400 Goettingen, F.R.Germany | Disclaimer ... PSI%(0262)45050352008::MOELLER Phone: +49 551 201516 | No claim intended! Internet: moeller@gwdgv1.dnet.gwdg.de | This space intentionally left blank.