![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Ошибка "Ambiguous overloaded call to 'FileSetDate'" [D7, WinXP]
Юрий © (2006-05-05 13:14:00)При выполнении следующего кода:
procedure SetFileDateTime(const FileName: String; FileDateTime: TDateTime);
begin
FileSetDate(FileName, DateTimeToFileDate(FileDateTime));
end;
Почему?
Спасибо.
Юрий (2006-05-05 13:40:00) [1]Хм... А оф. справка говорит так:
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, почему то не доступен?
Cashmare (2006-05-05 13:27:00) [2]function FileSetDate(Handle: Integer; Age: Integer): Integer;