Вниз
Скачать: 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.035 c
1-1097385449
focor
2004-10-10 09:17
2004.11.07
mousewheel


1-1098752183
Stivi
2004-10-26 04:56
2004.11.07
Columns в TListView


3-1097181854
GanibalLector
2004-10-08 00:44
2004.11.07
VARCHAR(15000) ???


4-1096789302
Alexis
2004-10-03 11:41
2004.11.07
Значения из регистров AH, AL при срабатывании hook a


10-1053161214
From_X
2003-05-17 12:07
2004.11.07
Можно ли организовать двухстороннюю связь в корбе?




   Наверх