Re: Strange hint: Inline function 'DeleteFile' has not been expanded??



Old Fan schrieb:
[Pascal Hint] project.dpr(102): H2443 Inline function 'DeleteFile' has not been expanded because unit 'Windows' is not specified in USES list

If I try to add the Windows unit, I get all sorts of errors on other lines.


There exists a SysUtils.DeleteFile() and a Windows.DeleteFile().

If you don't need Windows.pas for other purposes, stick to SysUtils.

That's the same, SysUtils.DeleteFile() does nothing but call Windows.DeleteFile().

--
"Ich fürchte keine Computer. Ich fürchte deren Fehlen."
-- Isaac Asimov

....und wech
Danny <dannys9 (at) gmx (dot) de>
.