Board index » delphi » DETECTING OS

DETECTING OS

How to detect on which OS my DELPHI program runs ?
I need some function to put in my source to detect WIN95/98 or NT

... is there any WIN API for this ?
Arminio.Gr...@USA.Net                     Pozega, Croatia
http://www.geocities.com/SiliconValley/Way/9629/arminio.htm
                                  <father since 07.07.1998>

 

Re:DETECTING OS


Arminio,
 Absolutely. Take a  look in your help files for GetVersionEx.

--
Good Luck!!
    -Dave
Inprise Certified Delphi 4 Client/Server developer
http://www.erols.com/dparsons

Arminio Grgic - GrGa <Arminio.Gr...@USA.Net> wrote in message
news:37087049.2651749@news.tel.hr...

Quote
> How to detect on which OS my DELPHI program runs ?
> I need some function to put in my source to detect WIN95/98 or NT

> ... is there any WIN API for this ?
> Arminio.Gr...@USA.Net                     Pozega, Croatia
> http://www.geocities.com/SiliconValley/Way/9629/arminio.htm
>                                   <father since 07.07.1998>

Other Threads