delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/19/11:45:44

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=CM40MKV3Nub6pQWOgIGWspzcj7VnE6BB2Titeioth8F
uStqzm1xJS1Hd7vL1z1yQtbdlXH6xfN43lOa0+D9DxXguaAa6tU2XQH+zUM0ELwa
kOTvtJMxNZxMJlBAJiyjrdX84n4vIreoDqe3/UVuVMqXqTMXIoSpTNBKJQlOU50o
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=U0cjMO5mhNuw4LlPD1YVv2GlPbQ=; b=vI4Pyzbp/oaPYytlQ
+EL84Y/tUpYUtndPYtTsn3tvlXdcd2hMj0S/s7lgwQylFGWuQoyvFRbU6k2aENXW
Lxpf7xSfoqvohPhD7wa5Sx2wkgMpLWfY+N0wAtHM6M5Y9D25VS28TbBTV+Si7sFt
Mg5K443e0SQxU6R12xfyO+0GXM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: etr-usa.com
Message-ID: <528B93E6.3030802@etr-usa.com>
Date: Tue, 19 Nov 2013 09:37:58 -0700
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygcheck -svc segfaults on Windows 8.1 with cygwin64
References: <1384839303 DOT 14356 DOT YahooMailNeo AT web125203 DOT mail DOT ne1 DOT yahoo DOT com> <20131119100343 DOT GA27525 AT calimero DOT vinschen DOT de>
In-Reply-To: <20131119100343.GA27525@calimero.vinschen.de>
X-IsSubscribed: yes

On 11/19/2013 03:03, Corinna Vinschen wrote:
>
> I'm also going
> to look for a solution to differ between Windows 8 and 8.1 (also 2012
> vs. 2012R2) in the cygcheck output.

GetVersionEx() should do it: http://goo.gl/DbhsRJ

If you follow the link to the OSVERSIONINFO structure, you will find a 
table that tells you how you distinguish those four cases.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019