Вниз
Скачать: CL | DM;

Windows Name   Найти похожие ветки 

 
Khabibulin   (2004-09-30 06:25) [0]

Как определить версию (Название) операционной системмы Microsoft Windows (только не через реестр!).


 
easy ©   (2004-09-30 07:48) [1]

http://delphimaster.ru/cgi-bin/faq.pl?look=1&id=988622288&n=15


 
grom   (2004-09-30 19:52) [2]

procedure TForm1.Button1Click(Sender: TObject);
var dwVersion: DWord;
   dwWindowsMajorVersion,dwWindowsMinorVersion, dwBuild: Word;
   S: string;
begin
dwVersion := GetVersion;
dwWindowsMajorVersion :=  Byte(Word(dwVersion));
dwWindowsMinorVersion :=  HiByte(Word(dwVersion));
if (dwVersion < $80000000)
then begin
 S := "Windows NT";
 dwBuild := HiWord(dwVersion);
end
else if (dwWindowsMajorVersion < 4)
 then begin
  S := "Win32s";
  dwBuild := HiWord(dwVersion) and $7FFFFFFF;
 end
 else begin
  S := "Windows 9.x";
  dwBuild :=  0;
 end;
S := S + ", &#226;&#229;&#240;&#241;&#232;&#255; " + IntToStr(dwWindowsMajorVersion) + "." +
      IntToStr(dwWindowsMinorVersion) + ", &#236;&#238;&#228;&#232;&#244;&#232;&#234;&#224;&#246;&#232;&#255; " +
      IntToStr(dwBuild);
Edit1.Text := S;
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.082 c
14-1097765421
Шишкин Илья
2004-10-14 18:50
2004.11.07
Петля Нестерова


14-1098092835
Gari
2004-10-18 13:47
2004.11.07
Как много изменений в новой версии Delphi


8-1091816507
parovoZZ
2004-08-06 22:21
2004.11.07
DirectInput and DirectX9


1-1098810143
TIKO
2004-10-26 21:02
2004.11.07
координаты иконки в теле файла


9-1089442145
1@@@@@1
2004-07-10 10:49
2004.11.07
Collision не работает




   Наверх