home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!indyvax.iupui.edu!imhw400
- From: imhw400@indyvax.iupui.edu
- Newsgroups: comp.os.msdos.programmer
- Subject: Where is the size of the environment block?
- Message-ID: <1992Aug19.135810.156@indyvax.iupui.edu>
- Date: 19 Aug 92 13:58:10 -0500
- Lines: 17
-
- WARNING: newbie-type question follows. I've been writing mainframe assembly
- language for years, but this is my very first program for MSDOS or the 80x86.
-
- I'm writing a gadget that needs to create or update an environment variable.
- I'm writing in Arrowsoft Assembler (the only real-address-mode translator I've
- found for free :-) and have no libraries, so I have to code this myself. I can
- find the parent process' environment block with no problem, and (I think) I
- understand the format thereof except for one thing: how do I know the size of
- the environment block that I've located, so I don't run off the end and damage
- other structures?
-
- So that I don't wind up bugging you-all endlessly, I'll ask another question of
- those who answer: where did you learn the answer?
- --
- Mark H. Wood, Lead Analyst/Programmer +1 317 274 0749 [@disclaimer@]
- Internet: IMHW400@INDYVAX.IUPUI.EDU BITNET: IMHW400@INDYVAX
- Celebrate freedom: read a banned newsgroup.
-