Vitaly Perov <vitperov at etersoft.ru> writes: > + GetCurrentDirectoryA(MAX_PATH, tmpPath); > + result = SetCurrentDirectoryW(path); > + SetCurrentDirectoryA(tmpPath); > + if (!result) return ERROR_FILE_NOT_FOUND; This is not the right way to test if a directory exists. -- Alexandre Julliard julliard at winehq.org