Shelling out of memory to run a child process
Quote:
> anybody know how to do this? I'm writing a bbs utility and I keep running
> out of memory. the bbs calls my program, my program calls another
> program.. but my program uses a lot of pointers and therefore memory.
> Besides I'm running my bbs under windows with qemm8.0 and don't want to
> turn to protected mode.... although it's worked so far in protected mode.
Ralf Brown <who has been seen in this newsgroup> has written an excellent
piece of code called Spawno which will swap to most anything you want it
to... I can UUencode and send it <forgot the ftp address> in Email if you
want it... It's mainly meant for C++ but can be used in Pascal or Asm
without modification... <special compile for Pascal, I think..> You
could also use it in Asm if you felt so inclined...
It does swap to EMS, XMS, Disk, non XMS extended... It doesn't know how
to *NOT* swap, though! Some claim that as a problem... I really don't
much care, though I suggested it as an option for a future release...
Email me if you want it...
\|/ Peace can not exist without war, nor can war
\\\\/|\//// exist without peace. Think about it...
\\\\|//// ----------------------------------