Date: Tue, 10 Feb 1998 15:00:55 +0100 (MET) From: Thomas Knudsen To: djgpp AT delorie DOT com cc: bart DOT mediamind AT tornado DOT be Subject: Re: Faceless Windows Programs In-Reply-To: <34de6b58.11047339@news.tornado.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 7 Feb 1998, Bart Lateur wrote: > But anyway. My main target platform is Windows 3.1. I was really pleased > with how smooth RHIDE starts up under Windows. Nice! ... > If you do that as a DOS program in Windows 3.1, it only works when the > DOS window is visible (in a box or full-screen). As soon as I minimize > the window, the program seems to stop. > > I also suspect that I'll end up needing pipes. True pipes are impossible in a DOS box, but DJGPP supports the popen() call anyway: Pipes work the same way as they have always done under MSDOS (i.e. by using intermediate files). This limits the piping to one direction, but is relatively useful anyway. Your other problem (the stopping of the program when iconified) is simply an effect of bad default settings in your DOS box. In the "-" menu, i.e. the menu called up by clicking the "-" field in the upper left of your DOS box window (or by pressing alt+space), there is an option called "settings" or something similar. Under that option, you can mark whether your program should continue to run when not in the foreground. Windows 3.1, however (or Windows 95, for that sake) are not perfect multitaskers, so dont expect miraculously smooth operation---if this is of paramount importance to you, switch to OS/2 or Linux! Thomas -- Thomas Knudsen | www: http://www.gfy.ku.dk/~tk/ National Survey and Cadastre - Denmark | e-mail: tk AT gfy DOT ku DOT dk Geodetic office, Rentemestervej 8 | Direct Phone: +45 35 87 52 64 DK-2400 Copenhagen NV, Denmark | FAX: +45 35 87 50 52