Вниз
Скачать: 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.011 c
3-69708
Отчаявшийся
2002-03-28 23:49
2002.04.22
Не удается подключиться к Interbase по сети


1-69779
Kurt
2002-04-08 10:14
2002.04.22
RichEdit или Memo! Как загружать фалы больших размеров только для


1-69770
Джафар
2002-04-10 08:41
2002.04.22
Как подключитькомпонент ?


14-69969
Hiks1
2002-03-13 07:15
2002.04.22
Alt+F4


3-69692
Sirus
2002-03-30 11:02
2002.04.22
Hello кул программеры... тут проблемка с DCOM




   Наверх