| delorie.com/archives/browse.cgi | search |
| Message-ID: | <3913BE7A.AB729B95@home.com> |
| From: | Robin Johnson <robbat2 AT home DOT com> |
| Organization: | Orbit Computers |
| X-Mailer: | Mozilla 4.7 [en] (Win98; U) |
| X-Accept-Language: | en,af,es |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Dos MEM Command |
| References: | <3912DA26 DOT FEED14AE AT home DOT com> <8euosi$rcm$1 AT antares DOT lu DOT erisoft DOT se> |
| Lines: | 25 |
| Date: | Sat, 06 May 2000 06:40:53 GMT |
| NNTP-Posting-Host: | 24.113.36.103 |
| X-Complaints-To: | abuse AT home DOT net |
| X-Trace: | news1.rdc1.bc.home.com 957595253 24.113.36.103 (Fri, 05 May 2000 23:40:53 PDT) |
| NNTP-Posting-Date: | Fri, 05 May 2000 23:40:53 PDT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
i need my code to be able to work without having to call mem.exe unfortenetly.
because i can't be guarenteed that it will be on every system.
Martin Stromberg wrote:
>
> Robin Johnson (robbat2 AT home DOT com) wrote:
> : I'm wondering how, when you run mem /d in dos, it can tell you which program has
> : which segment? If possible, I want to be able to find this out in DJGPP. Anybody
> : know how?
>
> Well, how about (untested) 'FILE p = popen("command.com /c mem /d",
> "r");'? Why work more than needed?
>
> Right,
>
> MartinS
--
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail : robbat2 AT orbis-terrarum DOT net
ICQ# : 30269588 or 41961639
Home Page : http://www.orbis-terrarum.net
Time Zone : Pacific Daylight (GMT - 8)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |