home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!ncar!noao!arizona!sunquest!spades.aces.com!gavron
- From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
- Newsgroups: comp.os.vms
- Subject: Re: DCL symbols from an image
- Message-ID: <24DEC199220072442@spades.aces.com>
- Date: 25 Dec 92 03:07:00 GMT
- References: <01GSNDM8ODYQ000G0Z@mc.maricopa.edu>
- Sender: news@cs.arizona.edu
- Reply-To: gavron@ACES.COM
- Organization: ACES Consulting Inc.
- Lines: 25
- News-Software: VAX/VMS VNEWS 1.4-b1
-
- In article <01GSNDM8ODYQ000G0Z@mc.maricopa.edu>, SHOECRAFT@MC.MARICOPA.EDU (Steve Shoecraft) writes...
- #
- # I am writing an application which must not only get symbols, but set DCL
- #symbols. I am unable to use the LIB$GET_SYMBOL and LIB$SET_SYMBOL services
- #because I need to be able to work with integers as well. Does anyone have an
- #example (C or MACRO) that does this? I would also like to be able to determine
- #whether the symbol was/is global or local on the get, and to specify global or
- #local on the set.
-
- This cannot currently be done from an executable.*
-
- Ehud
-
- --
- Ehud Gavron (EG76)
- gavron@aces.com
-
- * Those who would take me to task by saying that DCL is an executable
- and that what it could do so can the users should realize that there's
- NOTHING that can't be done in software, given PEOPLE, MONEY, and TIME.
- In order to solve this one, our hero would need to:
- a. Define a symbol in some way that it allocates space
- b. Peek in P1 space to find where the symbol information
- is stored and change it to be an integer symbol.
- The time element on b is cost prohibitive.
-