Mail Archives: djgpp-workers/1998/10/04/07:47:08
On Fri, 2 Oct 1998, Andrew Crabtree wrote:
> > Here's another problem: after installing the TSR, you cannot modify the
> > environment: it always says "Out of environment space". I'll confess
> > that I don't know enough about cmd.exe to play with its environment
> > space, but AFAIK, it should generally expand the environment size as
> > needed, no?
> Anybody know anything about setting the environment? I mean what calls are
> going on in dos and stuff.
Enlarging the environment doesn't involve any system calls. The shell
just needs to allocate a larger block of memory and copy everything
there.
I think the real reason for this problem is that NT thinks that your
TSR is running, even after it terminates and stays resident. Look at
the caption bar: it says it all. I think you need to find a way to
convince Windows that the TSR has exited, and then it will work.
- Raw text -