Вниз
Скачать: 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.027 c
9-1129832946
Galiaf
2005-10-20 22:29
2006.05.21
Учится хочу.


15-1145858337
Ega23
2006-04-24 09:58
2006.05.21
С Днём рождения! 22 апреля


2-1146493728
AlexanderMS
2006-05-01 18:28
2006.05.21
Выбранный элемент ListBox теряет фокус


1-1144417307
Steplerr
2006-04-07 17:41
2006.05.21
Сохранение данных TreeView


4-1141286570
Maloric
2006-03-02 11:02
2006.05.21
Drag&Drop из Edit




   Наверх