🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #99

Re: How to find PSP of parent (calling) process

#99
From: Harald Milz
Date: Mon, 02 Nov 1992 16:51
17 lines
1252 bytes
In article <JT.92Oct30044608@fizyk1.fuw.edu.pl>, jt@fuw.edu.pl (Jerzy Tarasiuk) writes:
|> >>>>> On Fri, 23 Oct 1992 19:36:32 GMT, bsn@world.std.com (Brent S Noorda) said:
|> Brent> I would like to get the PSP of the parent process that is calling my
|> Brent> executable.  In the first step, I would like to get the PSP of
|> Brent> command.com which is calling my executable from a batch file.
|> Brent> Can you help me?
|> 
|> Seems word [PSP:0x16] contains it.

That's correct. Refer to Andrew Schulman's Undocumented DOS and to MS's
DOS 5 programmers handbook.
-- 

|Dipl.-Ing. Harald Milz                   |    EMail:		hm@ix.de |
|iX - Multiuser Multitasking Magazin      |    FAX:    +49 511 547 47 33 |
|D-3000 Hannover 61, Helstorfer Str. 7    |    Tel.:   +49 511 547 47 66 |
Technical Details
Message-ID: <1992Nov2.165117.16716@opus40.ix.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!rz.uni-hildesheim.de!ix.de!hm
References: <BwLAGw.Lp9@world.std.com> <JT.92Oct30044608@fizyk1.fuw.edu.pl>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!rz.uni-hildesheim.de!ix.de!hm
From: hm@opus40.ix.de (Harald Milz)
Subject: Re: How to find PSP of parent (calling) process
Message-ID: <1992Nov2.165117.16716@opus40.ix.de>
Sender: hm@opus40.ix.de (Harald Milz)
Organization: iX-Redaktion
References: <BwLAGw.Lp9@world.std.com> <JT.92Oct30044608@fizyk1.fuw.edu.pl>
Date: Mon, 2 Nov 1992 16:51:17 GMT
Lines: 17