[Paraview-developers] vtkPVServerFileListing::
FileIsReadable
Moreland, Kenneth
kmorel at sandia.gov
Wed Jan 12 16:06:41 EST 2005
> According to the documentation GetFileAttributes returns
> INVALID_FILE_ATTRIBUTES if it fails. This constant does not
> seem to exist on MSVC 6, but it is defined to -1 on MSVC 7.1.
> Using -1 seems to work for MSVC 6, though. I'll commit a fix.
Yes, I think -1 is correct on MSVC 6. Here is a section of the
documentation for MSVC 6:
If the function fails, the return value is 0xFFFFFFFF. To get extended
error information, call GetLastError.
-Ken
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** fax: (505) 844-0833
More information about the Paraview-developers
mailing list