From: "Finn Kettner" Organization: AKF To: djgpp AT delorie DOT com Date: Tue, 23 Dec 1997 12:05:13 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Determining Operating System Message-ID: Precedence: bulk Hi there. I would like to know if there is a way (using DJGPP of course) to see which operating system a program is running under. The reason is that here at my work, we are using Pegasus mail system, and as some of the employees use Windows 3.11, we all have to use the 16-bit version (the program is run from the Netware Application Launcher, and is run from the main login script). But, if we could determine which operating system the user was using, we (well actually they, I'm not in the support department :-) could launch the 16-bit or 32-bit version of Pegasus whichever version would be better. Yours Faithfully. Finn Kettner. PS. We are only using Windows 3.11, W95 and WinNT, and it is the destinction between the three operating systems I'd like to make.