home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20235 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.9 KB

  1. Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Alternative callable editors in MAIL?
  5. Date: 3 Jan 1993 09:04:20 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 23
  8. Distribution: world
  9. Message-ID: <1i6a6kINNrct@gap.caltech.edu>
  10. References: <34147@twics.co.jp> <1992Dec25.234751.5910@ais.com> <1992Dec26.185949.27176@engage.pko.dec.com> <1992Dec26.213721.5913@ais.com> <1992Dec28.172127.10392@engage.pko.dec.com>,<34364@twics.co.jp>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <34364@twics.co.jp>, burress@twics.co.jp (Tim Burress) writes:
  15. >One thing I noticed was that it is apparently a requirement that a transfer
  16. >vector be specified, at least for software written in VAX-C.  Without it I
  17. >consistently got the "Key not found in tree" error, no matter what I named
  18. >the routine, but perhaps this has to do with the way C defines the attributes
  19. >of its routines?
  20.  
  21. What you need to do is to make the entry point a universal symbol.  One way to
  22. do this (as you've discovered) is to link the program with a MACRO32 program
  23. that defines transfer vectors.  Another way, which doesn't use transfer
  24. vectors, is to use a linker options file, specifying:
  25.  
  26. UNIVERSAL=entry_point
  27.  
  28. for all the entry points you want to use.
  29. --------------------------------------------------------------------------------
  30. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  31.  
  32. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  33. understanding of astronomy is purely at the amateur level (or below).  So
  34. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  35. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  36. hold me responsible for it, but my organization had nothing to do with it.
  37.