Re: Linux version info

Ben Hague <[email protected]> Wed, 21 May 2003 15:50:19 +0000
Newsgroups gmane.comp.lang.delphi.kylix
Organization Ravenfield Designs
Message-ID <03052115501900.01070@linux>
Include libc in the uses section, and use a code snippet like:

var uts :utsname;
begin
 uname(uts);
end;

uts then contains various information about the system, you probably want 
either uts.sysname or uts.release.

Ben Hague 

On Wednesday 21 May 2003  1:34 pm, you wrote:
> Dear fellows,
>
> I need to know the version of the OS my application is running on, that is,
> I need to know it from inside my application, through pascal code in
> Kylix3Pro; any clue?
>
> I tried GetVersion/GetVersionEx but they are not there...
>
> TIA
> Batman
>
>
>
> -------------------------------------------------------
> Forum / mailing list for Borland Kylix programmers
> Our web page:  http://groups.yahoo.com/group/kylixgroup
> To join the forum: [email protected]
> To unsubscribe:  [email protected]
> To post your messages:       [email protected]
> To contact the moderator:  [email protected]
> -------------------------------------------------------
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/i7folB/TM
---------------------------------------------------------------------~->

-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/