Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: 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 Content-Type: text/plain; charset="Windows-1252" X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Transfer-Encoding: 8bit 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/