Вниз
Скачать: 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.023 c
1-1098543121
PURGEN
2004-10-23 18:52
2004.11.07
Ошибка в коде ???


14-1098440796
Viner
2004-10-22 14:26
2004.11.07
Активность винчестера


1-1098717522
atmospheric
2004-10-25 19:18
2004.11.07
WM_CHAR в XP и 2000 ?


6-1093549534
Jetus
2004-08-26 23:45
2004.11.07
Приём почты


14-1097955597
Nix
2004-10-16 23:39
2004.11.07
Как узнать величину перемещения курсора мыши?




   Наверх