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

Ошибка "Ambiguous overloaded call to FileSetDate "   Найти похожие ветки 

 
Юрий ©   (2006-05-05 13:14) [0]

При выполнении следующего кода:

procedure SetFileDateTime(const FileName: String; FileDateTime: TDateTime);
begin
 FileSetDate(FileName, DateTimeToFileDate(FileDateTime));
end;

Почему?
Спасибо.


 
Cashmare ©   (2006-05-05 13:27) [1]

function FileSetDate(Handle: Integer; Age: Integer): Integer;


 
Юрий ©   (2006-05-05 13:40) [2]

Хм... А оф. справка говорит так:


Delphi syntax:
On Windows:
 function FileSetDate(Handle: Integer; Age: Integer): Integer; overload;
Cross-platform:
 function FileSetDate(const FileName: string; Age: Integer): Integer; overload;


Или cross-platform, почему то не доступен?



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

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



Память: 0.45 MB
Время: 0.037 c
15-1145698818
ZeFiR
2006-04-22 13:40
2006.05.21
Google APIs+Delphi=?


3-1143485761
beglec
2006-03-27 22:56
2006.05.21
Как узнать сколько индексов у таблицы? Paradox.


2-1146570773
jenya_rus
2006-05-02 15:52
2006.05.21
Побайтная загрузка файла...


1-1144321860
Eksell
2006-04-06 15:11
2006.05.21
Как отключить сервис (service)


4-1140881371
Pit
2006-02-25 18:29
2006.05.21
My Computer




   Наверх