Article View: comp.sys.ibm.pc
Article #26536Program Loaded Where? from inside another
From: Research in Motion Limited
Date: Sat, 16 Apr 1988 18:12
Date: Sat, 16 Apr 1988 18:12
23 lines
1315 bytes
1315 bytes
[ when will messages be safe? ]
I have a program which invokes another program via an exec-type call
("system()" in C). In mess-dos so far, this means your calling program
goes away until the new program has done its stuff. My calling program
needs to know where the called program got loaded in memory. Does
anyone have any hints on how to do this?
As I see it, there are several possibilities:
1) write a "command.com" replacement to do the program load. UGH!
2) intercept the DOS program exit function. Messy but possible. Interferes
with my program.
3) something else that I haven't realized yet.
Any help will be appreciated. There might even be some free software
in it for you!
Thanks,
Michael A. Barnstijn uucp: ...!{decvax|ihnp4|utzoo|sun}!watmath!softart!riml
Research In Motion Limited bell: (519) 888-7465
465 Phillip Street, Suite 6
Waterloo, Ontario, Canada
N2L 6C7
Technical Details
Message-ID:
<39@softart.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mailrus!umix!umich!mibte!gamma!ulysses!thumper!faline!bellcore!clyde!watmath!softart!rimlShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mailrus!umix!umich!mibte!gamma!ulysses!thumper!faline!bellcore!clyde!watmath!softart!riml From: riml@softart.UUCP (Research in Motion Limited) Newsgroups: comp.sys.ibm.pc Subject: Program Loaded Where? from inside another Message-ID: <39@softart.UUCP> Date: 16 Apr 88 18:12:25 GMT Organization: Softart Microsystems Inc., Waterloo Ont. Canada Lines: 23