Open the DLL files as FILE_SHARE_READ to prevent sharing violations.
Modified: trunk/reactos/lib/ntdll/ldr/utils.c
_____
Modified: trunk/reactos/lib/ntdll/ldr/utils.c
--- trunk/reactos/lib/ntdll/ldr/utils.c 2005-01-09 14:11:25 UTC (rev
12906)
+++ trunk/reactos/lib/ntdll/ldr/utils.c 2005-01-09 14:16:36 UTC (rev
12907)
@@ -618,7 +618,7 @@
GENERIC_READ|SYNCHRONIZE,
&FileObjectAttributes,
&IoStatusBlock,
- 0,
+ FILE_SHARE_READ,
FILE_SYNCHRONOUS_IO_NONALERT);
if (!NT_SUCCESS(Status))
{
Show replies by date