Date: Tue, 23 Dec 1997 17:04:05 +0200 (IST) From: Eli Zaretskii To: "A. Sinan Unur" cc: djgpp AT delorie DOT com Subject: Re: Determining Operating System In-Reply-To: <349FB075.80BEC634@cornell.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 23 Dec 1997, A. Sinan Unur wrote: > i think the way to disinguish nt is that it returns a unique dos > version, but i am not sure. The above is correct. Call `_get_dos_version (1)' and test whether the result is 0x3205 (version 5.50). If it is, that's an NT.