[Bug 843] CreateFile returns ERROR_SHARING_VIOLATION instead of ERROR_ALREADY_EXISTS

Wine Bugs wine-bugs at winehq.org
Thu Mar 10 15:07:38 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=843


us at the-edmeades.demon.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From us at the-edmeades.demon.co.uk  2005-10-03 15:07 -------
Created a test file: test.c containing 
#include "windows.h"
void main() {
    HANDLE hand = CreateFileA("test.c", FILE_ALL_ACCESS, 0, NULL, CREATE_NEW, 
0, NULL);
    printf("hand = %d (%d)\n", hand, GetLastError());
}
Compiled it and tested under wine and windows and get the same result (80 / 
file exists). Closing as works for me but feel free to reopen

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list