Andries

I picked this up somewhere in the past.  It may be of some help to you:


function getOSVersion: string;
var verInfo :TOSVERSIONINFO;
begin
//verInfo.dwOSVersionInfoSize := SizeOf(TOSVersionInfo);
if GetVersionEx(verInfo) then
case verInfo.dwPlatformId of
   VER_PLATFORM_WIN32s         : Result := 'Win3.1';
   VER_PLATFORM_WIN32_WINDOWS  : Result := 'Win98';
   VER_PLATFORM_WIN32_NT       : Result := 'WinXP';
end;
end;

Regards
Steve


>>  How can I know what operational system is running on the computer?




    

  -----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]

             

        SPONSORED LINKS  
                                                    C programming language                                       Computer programming languages                                       Java programming language                                                                     The c programming language                                       C   programming language                                       Concept of programming language                                                                
     
---------------------------------
   YAHOO! GROUPS LINKS

   
    Visit your group "delphi-en" on the web.
   
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

   
---------------------------------


    

           
---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo! FareChase

[Non-text portions of this message have been removed]




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links








***************************************************************************
This e-mail and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this e-mail is prohibited and may be unlawful. If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.
Content of emails received by this Trust will be subject to disclosure under the Freedom of Information Act 2000, subject to the specified exemptions, including the Data Protection Act 1998 and Caldicott Guardian principles.
This footnote also confirms that this email message has been swept by MIMESweeper and Sophos Anti-virus for the presence of computer viruses.
***************************************************************************



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




SPONSORED LINKS
C programming language Computer programming languages Java programming language
The c programming language C programming language Concept of programming language


YAHOO! GROUPS LINKS




Reply via email to