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

number o drives   Найти похожие ветки 

← →
AleXqwq ©   (2004-06-25 14:05) [0]

kak mne procitati kakie diski esti na moem compe tipa: A,C,D hto znaet pomogite


← →
begin...end ©   (2004-06-25 14:15) [1]

function GetDrives: String;
var
 Ch: Char;
begin
 for Ch := "A" to "Z" do
 if GetDriveType(PChar(Ch + ":\")) <> 0 then
   Result := Result + Ch;
end;


← →
CHES ©   (2004-06-25 14:45) [2]

2 begin...end ©   (25.06.04 14:15) [1]

не совсем так


function GetDrives: String;
var
Ch: Char;
Val : integer;
begin
for Ch := "A" to "Z" do
 begin
   Val:=GetDriveType(PChar(Ch + ":\"));
   if (Val <> 0)and (Val <> 1) then
   Result := Result + Ch;
 end;
end;


← →
Игорь Шевченко ©   (2004-06-25 20:33) [3]

GetLogicalDriveStrings



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

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



Память: 0.44 MB
Время: 0.027 c
14-1090242201
pasha_golub
2004-07-19 17:03
2004.08.08
Шахматы: извращения, байки, приколы и т.д.


3-1089717775
Vova
2004-07-13 15:22
2004.08.08
как програмно определить виходниє дни недели и ...


1-1090477286
PhAn
2004-07-22 10:21
2004.08.08
Буквы CD-приводов


14-1090401343
ВиТ
2004-07-21 13:15
2004.08.08
Сколько стоит прога?


1-1090501632
юзверь
2004-07-22 17:07
2004.08.08
помогите, спасите от мучений:) с текстом




   Наверх