Вниз
Скачать: 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.031 c
2-1146410252
Kano
2006-04-30 19:17
2006.05.21
Ошибка при выполнении Insert


11-1125482226
ECM
2005-08-31 13:57
2006.05.21
KOL+MCK 2.11


15-1146057540
rolex2002
2006-04-26 17:19
2006.05.21
Как удалить системные точки восстановления?


15-1145858794
Spirit of RO
2006-04-24 10:06
2006.05.21
Используете ли вы


2-1146654488
De
2006-05-03 15:08
2006.05.21
Как грамотно написать?




   Наверх