Array ops give sharing violation under Windows 7 64 bit?

Xinok xinok at live.com
Sat Mar 24 12:18:58 PDT 2012


On Saturday, 24 March 2012 at 19:08:00 UTC, Walter Bright wrote:
> 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?

If you have an antivirus, try disabling it before compiling.


More information about the Digitalmars-d mailing list