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

Что делает процедура ProcessFile   Найти похожие ветки 

 
Dimaiv ©   (2002-04-09 20:39) [0]

в Хэлпе почему-то нет.


 
Anatoly Podgoretsky ©   (2002-04-09 20:49) [1]

Нет такой


 
Dimaiv ©   (2002-04-09 21:07) [2]

Вот пример из хелпа (пример для процедуры GetMem)
The following example opens a file named "test.txt" and reads the entire file into a dynamically allocated buffer. The buffer and the size of the file are then passed to a routine that processes the text, and finally the dynamically allocated buffer is freed and the file is closed.

var

F: file;
Size: Integer;
Buffer: PChar;
begin
AssignFile(F, "test.txt");
Reset(F, 1);
try
Size := FileSize(F);
GetMem(Buffer, Size);
try
BlockRead(F, Buffer^, Size);
ProcessFile(Buffer, Size);
finally
FreeMem(Buffer);
end;
finally
CloseFile(F);
end;

end;


 
MBo ©   (2002-04-09 21:14) [3]

;)
это самому ее писать надо


 
Anatoly Podgoretsky ©   (2002-04-09 21:21) [4]

Ее еще нет, напишешь, сделаешь хелп, подключишь его и только тогда сможешь ее находить



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

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



Память: 0.45 MB
Время: 0.017 c
1-69829
VJar
2002-04-08 21:20
2002.04.22
Проблема с TNMSMTP


1-69835
Lego
2002-04-11 02:50
2002.04.22
Как остановить ?


1-69819
Nikit
2002-04-08 12:58
2002.04.22
save/load to/from file


6-69947
hair_fly
2002-02-11 12:55
2002.04.22
Подскажите, плз, сколько портов приемлемо использовать в одной проге ?


14-70032
Dimka Maslov
2002-03-12 17:07
2002.04.22
NOT XOR




   Наверх