Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.09.11;
Скачать: CL | DM;

Вниз

Глюк с чтением файлов   Найти похожие ветки 

 
tvic ©   (2003-09-01 16:40) [0]

У меня глюк с файлов. Когда я открываю файл (функция Reset) с атрибутом "Только для чтения" и просто читаю из него данные, то выскакивает ошибка, что отказанов доступе. В чем проблема, я ведь читаю данные и только????


 
Nikolay M. ©   (2003-09-01 16:42) [1]

А хелп почитать самим уже влом?

Reset opens the existing external file with the name assigned to F using the mode specified by the global FileMode variable. An error results if no existing external file of the given name exists or if the file can’t be opened with the current file mode. If F is already open, it is first closed and then reopened. The current file position is set to the beginning of the file.


 
Song ©   (2003-09-01 16:42) [2]

Ошибка в 17-ой строке


 
ZEE ©   (2003-09-01 17:25) [3]

FileMode:=0 - должно помочь
например так:
assignfile(f,"C:\1.tmp");
FileMode:=0;
reset(f);
...
closefile(f);


 
tvic ©   (2003-09-01 17:55) [4]

Спасибо ZEE за FileMode:=0



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

Текущий архив: 2003.09.11;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.019 c
6-33705
Вопрос
2003-07-09 15:33
2003.09.11
как включить картинки у Ie


3-33494
Nikkkkk
2003-08-20 11:03
2003.09.11
Вопрос по TQuery


4-33852
Th
2003-07-08 11:00
2003.09.11
Искусственный вызов Window Menu приложения


1-33585
Maks
2003-08-28 14:47
2003.09.11
PopupMenu


6-33715
FireMan_Alexey
2003-06-26 16:30
2003.09.11
Помогите избавиться от ошибки (Socket error 10065)