I built an application on Delphi 5 and every thing was well.
Today I compiled my old app in Delphi 7.
However, I got warnings like:
"Symbol FindData is specific to a platform"
"The symbol is tagged (using the platform hint directive) as one that
may not be available on all platforms. If you are writing cross-platform
applications, it may cause a problem."
This warnings raised to the following code line:
...
var
HighDateTime : cardinal;
SearchRec: TSearchRec;
Highdatetime:= SearchRec.FindData.ftCreationTime.dwHighDateTime; //
this line caused the warning.
...
How can I fix my code??
Any hint will be very helpful.
Thanks .
Rodrigo.
There's nothing wrong with your code per se, it's just that what you're
doing won't work under Linux.
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
As Ignacio says, there's no actual problem with your code - you're just
being warned that it'll only work underWindows.
If you want to suppress the warnings, add this line at the top of all
affected units:
{$WARN SYMBOL_PLATFORM OFF}
HTH,
Ian