Вниз
Скачать: 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.029 c
14-1098177817
peypivo
2004-10-19 13:23
2004.11.07
Самый убогий корпоративный сайт.


6-1093803239
MeMO
2004-08-29 22:13
2004.11.07
MAC адрес


1-1098447169
edge
2004-10-22 16:12
2004.11.07
TList.Free


3-1097046463
Pashkerton
2004-10-06 11:07
2004.11.07
DateTime в SQL 2000 Server


1-1098742630
saNat
2004-10-26 02:17
2004.11.07
Прокрутка в Мемо




   Наверх