TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul Edwards
from: Peter Fitzsimmons
date: 1996-10-15 16:22:56
subject: watcom and warp

PE> What does the thing in config.sys (run=) need to do in 
 PE> order to impact other programs?  Basically, I'd like 
 PE> to interfere myself, upwards for a nice change!  So I 
 PE> wrote the following program, and stuck it in my 
 PE> config.sys, but it had no effect on my other 
 PE> applications...

 PE> #define INCL_DOS
 PE> #include 

 PE> int main(void)
 PE> {
 PE>     DosSleep(50000L);
 PE>     DosSetMaxFH(200);
 PE>     return (0);
 PE> }
 PE> EOT:

Perhaps it has to be in a wps dll.  For example,  if a MMOS2 object (which
is part of the wps process) increases the file handles,  any child programs
will get it too,  since wps is starting them.

You'll have to experiment to find the exact cause.


--- Maximus/2 3.00
* Origin: Sol 3 * Toronto * V.32 * (905)858-8488 (1:259/414)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 259/414 400 99 250/99 3615/50 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.