Re: file properties with DIR function : Bug ?
chadal wrote:
> To be sure about my problem, i've wrote a small euphoria program using the
> dir32 library from archives. I've used FileTimeToLocalFileTime and
> FileTimeToSystemTime
> functions from kernel32.dll. the result confirms the différenc between the
> euphoria
> DIR function and windows functions.
> Is it an installation trouble ?
> To understand what's happened, what kind of checks can i do ?
I'm not sure what you mean by the "dir32" library, unless it's
Overman's dir232.zip (which I haven't looked at).
I support the standard dir() in Euphoria. I don't know why the
time stamp on a file could differ by 2 seconds in some cases.
I haven't noticed it on my machine using dir().
I simply retrieve a C structure, and have to multiply the "seconds"
field by 2, since for some reason Microsoft doesn't store the "seconds"
but rather the "seconds divided by two". Maybe it's a Y2K bug
Maybe in Europe Windows adjusted the clock at the turn
of the millennium? Maybe it depends on the version of Microsoft's
file system that you are using. I have no idea.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|