Findfirstfile gives getlasterror 183 (error_already_exists)
Findfirstfile gives getlasterror 183 (error_already_exists)
(OP)
When using findfirstfile, it returns INVALID_HANDLE_VALUE, with getlasterror set to 183 (error_already_exists).
Can anyone explain what this error means in this context?
Can anyone explain what this error means in this context?
RE: Findfirstfile gives getlasterror 183 (error_already_exists)
Get the code fragment, please...
RE: Findfirstfile gives getlasterror 183 (error_already_exists)
for example usage.
RE: Findfirstfile gives getlasterror 183 (error_already_exists)
Chip H.
____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
RE: Findfirstfile gives getlasterror 183 (error_already_exists)
the 2nd search handle on the same pattern is opened OK (I tested this case on Win NT WS before sent my post above).
RE: Findfirstfile gives getlasterror 183 (error_already_exists)
The tracing being used in my case (not the same as MSDN example) was overwriting the last error value.
The actual last error is now found to be 5 (ERROR_ACCESS_DENIED).
This makes sense.