Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.05.21;
Скачать: 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 вся ветка

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

Наверх




Память: 0.46 MB
Время: 0.025 c
2-1146460388
it_work
2006-05-01 09:13
2006.05.21
Как перевести из string в shortString


15-1146104716
Игорь Н
2006-04-27 06:25
2006.05.21
На форме нужно открыть какую-либо программу


1-1144571193
Undertaker_vav
2006-04-09 12:26
2006.05.21
возведение чисел в большие степени


15-1145852265
antonn
2006-04-24 08:17
2006.05.21
сконвертировать bmp в png


15-1145620849
Alarm
2006-04-21 16:00
2006.05.21
к модераторам и админам