There is a Windows API call to determine which O/S you are running on.
Have used it in the past but cannot recall which \one it is.

Found it in one of the help files.

                -----Original Message-----
                From:   Neil Anderson [mailto:[EMAIL PROTECTED]]
                Sent:   Thursday, March 18, 1999 11:15 AM
                To:     Multiple recipients of list delphi
                Subject:        RE: [DUG]:  easy question

                Sorry, I think you are right what I need to do is
determine at run time,
                Patrick mentioned Win32Platform variable in SysUtils
which I will have a
                look at

                Neil

                > -----Original Message-----
                > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
                > Sent: Friday, March 19, 1999 12:17 AM
                > To:   Multiple recipients of list delphi
                > Subject:      Re: [DUG]:  easy question
                > 
                > Neil, 
                > to my knowledge there is no such thing.  Delphi 2
onwards are 
                > designed for win32 api, so run on 95,98 and NT.
                > 
                > There are ways of determining this at run-time though.
                > 
                > On 18 Mar 99 at 7:23, Neil Anderson wrote:
                > 
                > > Does someone know what the compiler directive is to
determine if
                > running
                > > under NT ?
                > > 
                > > e.g. something like IFDEF win32
                > 
                > Rohit
                > 
                >
======================================================================
                > CFL - Computer Fanatics Ltd.  21 Barry's Point Road,
AKL, New Zealand
                > PH    (649) 489-2280 
                > FX    (649) 489-2290
                > email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
                >
======================================================================
                > 
                >
----------------------------------------------------------------------
                > -----
                >     New Zealand Delphi Users group - Delphi List -
                > [EMAIL PROTECTED]
                >                   Website: http://www.delphi.org.nz
        
------------------------------------------------------------------------
---
                    New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
                                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to