Win 2000

George Razbash george@eddieware.org
Wed Nov 3 14:26:00 GMT 1999


Thank YOU, Tim.

I am a bit late with answer. Still did not find the appropriate way to go
with #define variable, So went as the basic: 
1. Introduced the new variable (Global, structure, or pass around parameter
does not matter).
2. And used Windows API function GetVersion to fill it in.

Cheers,
George

N8TM@aol.com wrote:
> 
> In a message dated 10/14/99 9:50:10 PM Pacific Daylight Time,
> george@eddieware.org writes:
> 
> > How I would detect the OS variable WINVER to be
> >  related to Win2000 (NT5.0)
> Yes, at least in beta 3, it identifies itself as nt5.  The only place I know
> where the gcc compiler distribution checks Windows versions is in libU77,
> where NT5 is treated the same as NT4.  AFAIK cygwin also treats NT5 the same
> as NT4 but it doesn't exhibit all the NT4 bugs when running under W2K.  It
> beats me how you could make a program more portable by distinguishing between
> them.
> 
> Tim
> tprince@computer.org

-- 
*************** Internet Email Confidentiality Footer ******************

Privileged/Confidential Information may be contained in this message. If
you are not the intended addressee(s) indicated in this message
(or responsible for delivery of the message to such person), you may NOT
read, save, copy, disclose, forward or deliver this message  or parts of
it to anyone. In such case, you should destroy this message, and notify
myself immediately. If you or your employer does not consent to Internet
email messages of this kind, please advise myself immediately. Opinions,
conclusions and other information expressed in this message are not
given or endorsed by my firm or employer unless otherwise indicated by
an authorized representative independent of this message.

If this email has been sent to you in error, please delete this email
and any copies or links to this email completely and immediately from
your system.
======================  END FORWARDED MESSAGE ==========================

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list