Re: Strange hint: Inline function 'DeleteFile' has not been expanded??
- From: Ikke <ikke@xxxxxxx>
- Date: Tue, 20 May 2008 21:32:38 GMT
Old Fan <Noway@xxxxxxxxxxxxxxx> wrote in"
news:mn.a4f97d853af03d2d.59994@xxxxxxxxxxxxxxx:
Ikke wrote:
[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.
Also see:
<http://www.codeverge.net/item.aspx?item=72674>
I would understand this explanation if "Windows" was in the uses list. But
it is not!
My program reads:
{$APPTYPE CONSOLE}
uses
Classes, SysUtils;
So therefor I would assume that DeleteFile always is SysUtils.DeleteFile.
If I DO add Windows, I get all sorts of other errors...
Thanks,
Ikke
.
- References:
- Prev by Date: Re: Strange hint: Inline function 'DeleteFile' has not been expanded??
- Next by Date: Re: Strange hint: Inline function 'DeleteFile' has not been expanded??
- Previous by thread: Re: Strange hint: Inline function 'DeleteFile' has not been expanded??
- Next by thread: Re: Strange hint: Inline function 'DeleteFile' has not been expanded??
- Index(es):
Relevant Pages
|