Mail Archives: djgpp/2000/05/06/02:21:03
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)
- Raw text -