Array ops give sharing violation under Windows 7 64 bit?

Walter Bright newshound2 at digitalmars.com
Sat Mar 24 12:07:59 PDT 2012


On 3/24/2012 11:55 AM, Walter Bright wrote:
> I'm mystified. Does anyone have any ideas?

If I add a del test.exe to the cc.bat file:
--------------------
..\dmd test
test
del test.exe
..\dmd test
-------------------

It now fails with GetLastError() of 5, meaning "Access is denied."

The cc.bat file has to be executed repeatedly for this to happen.

I wonder if it may have something to do with the operating system delayed writes?


More information about the Digitalmars-d mailing list