Re: Incompatibility in Kernel32

2012-06-23 Thread Ben Peddell
On 22/06/2012 7:23 PM, robert.van.h...@serioustoys.com wrote: >>> Is there any reason that you call DeleteFile() on a still being opened file? >> >> That's the whole point of this test. The observed behavior is that you can >> pass a >> filename to MsiRecordSetStream, successfully delete the file,

RE: Incompatibility in Kernel32

2012-06-22 Thread robert.van.h...@serioustoys.com
> > Is there any reason that you call DeleteFile() on a still being opened file? > > That's the whole point of this test. The observed behavior is that you can > pass a > filename to MsiRecordSetStream, successfully delete the file, and keep on > using the > stream. I think DeleteFile on a opene

Re: Incompatibility in Kernel32

2012-06-21 Thread Ben Peddell
On 21/06/2012 7:11 PM, Dmitry Timoshkov wrote: > Hans Leidekker wrote: > >>> Is there any reason that you call DeleteFile() on a still being opened file? >> >> That's the whole point of this test. The observed behavior is that you can >> pass a >> filename to MsiRecordSetStream, successfully del

Re: Incompatibility in Kernel32

2012-06-21 Thread Dmitry Timoshkov
Hans Leidekker wrote: > > Is there any reason that you call DeleteFile() on a still being opened file? > > That's the whole point of this test. The observed behavior is that you can > pass a > filename to MsiRecordSetStream, successfully delete the file, and keep on > using the > stream. > >

Re: Incompatibility in Kernel32

2012-06-21 Thread Hans Leidekker
On Thu, 2012-06-21 at 16:03 +0900, Dmitry Timoshkov wrote: > > Shall I file a bug report? > > Try to add a test case to dlls/kenel32/tests/file.c,test_file_sharing(). > > > HANDLE h2 = CreateFileA(filename, GENERIC_READ, FILE_SHARE_DELETE | > > FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, 0); > >

Re: Incompatibility in Kernel32

2012-06-21 Thread Dmitry Timoshkov
"robert.van.h...@serioustoys.com" wrote: > I feel hesitation towards starting to hack in kernel32 myself. Though this > bug seems to be blocking me to implement msi.dll completely compatible with > the MS implementation... You shouldn't look how native msi.dll behaves internally. > Shall I file