|
OA,
The value for ERROR_NO_MORE_FILES in the Win32Constants pool dictionary
is set to 24. However, WinError.h shows it as
//
// MessageId: ERROR_NO_MORE_FILES
//
// MessageText:
//
// There are no more files.
//
#define ERROR_NO_MORE_FILES 18L
The L is for long rather than hex, so it should be 18 in the dictionary
as well.
I am getting this error code from a remotely mounted CD-ROM library, so
it is probably correct. Also, in the method File class>>#for:do: there
is the code
lib getLastError ~= ERROR_NO_MORE_FILES
ifFalse: [^lib systemError].
which would probably make more sense with one less negative (assuming
that the constant is corrected).
Thanks.
Keith Alcock
|