Thanks - I cannot convert the GetVersionEx help into code that works. Any
chance of a snippet?


the GetVersionEx Win32 API function returns a TOSVersionInfo

dwPlatformID in that thing distinguishes between 9x and NT

It's still a bit of a rat's nest if you care about more
than just NT vs 9x though.

-ns


----- Original Message -----

> Is there a simple way to determine the OS?
> All I want to know is 95/98  or 2000/NT.
> Help seems to offer overcomplex, overdetailed methods. I'm sure I must
have
> missed the simple answer.
> Regards
> Graham
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to