Hi !

> Is there a way of finding out with an api call or something 
> if you are running NT Workstation or NT Server?

Have a look at MSDN, under:
  Platform SDK\Management Services\Windows System Infomation\
    System Infomation\Using System Information\Getting the System ...

There is some sample code there.  Basically the GetVersionEx() API 
is used and one of the two supported structures (OSVERSIONINFOEX 
or OSVERSIONINFO) is obtained and tested.  Note that the sample
source is in C, as is all SDK samples.

If you haven't got the MSDN CD - try the MSDN web site.

Good luck !
         
Leon

-------------------------------------------------------------------
Leon Raj                  Private email  (NZ):   [EMAIL PROTECTED]
the "Kiwi Viking"         Private email (FIN): [EMAIL PROTECTED]
Jyska, FINLAND                  (formerly of Auckland, NEW ZEALAND)
-------------------------------------------------------------------


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to