delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/03/13:26:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Zen-Trace: 62.3.107.193
From: "Colin Harrison" <colin DOT harrison AT virgin DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Re: Can't see full list in setup.exe
Date: Mon, 3 Feb 2003 18:25:29 -0000
Message-ID: <000001c2cbb1$a1c7f000$0200a8c0@STRAIGHTRUNNING.COM>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h13IQVT04041

Hi,

Further tracing leads me to conclude that Win32.cc uses an old structure
for calling GetVersionEx.
MSDN now seem to use OSVERSIONINFOEX structues instead of OSVERSIONINFO and
then bodge a cast.
Their example 
 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/bas
e/getting_the_system_version.asp

Works correctly on both my machines (both XP Pro SP1..bang up to date..I
think!!)

I've hacked up my Win32.cc code to try and match the MS stuff but haven't
got a make yet!!

I'll carry on if no one has a bright idea?

Colin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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