"Erich E. Hoover" ehoover@mymail.mines.edu writes:
- hfile = CreateFileW( pObjectName, access, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE,
NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0 );
- if (hfile == INVALID_HANDLE_VALUE)
return FALSE;
FALSE doesn't do what you want here.