[windows] Can't delete a closed file?

Andre Pany andre at s-e-a-p.de
Thu May 9 15:05:10 UTC 2019


On Thursday, 9 May 2019 at 13:18:44 UTC, Cym13 wrote:
> On Thursday, 9 May 2019 at 13:02:51 UTC, Rene Zwanenburg wrote:
>> On Thursday, 9 May 2019 at 12:33:37 UTC, Cym13 wrote:
>>> On Thursday, 9 May 2019 at 11:31:20 UTC, Cym13 wrote:
>>>> ...
>>>
>>> To dismiss any doubt about AV or other processes coming into 
>>> play I took the binary and ran it with wine on linux with the 
>>> exact same end result.
>>> For reference my windows system is a 64b windows 10.
>>
>> You could try to use the find handle function in Process 
>> Explorer to figure out what process has the file open:
>>
>> https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
>
> I did just that and my test program truly is the only process 
> on the system having that file open. Unless I'm missing 
> something that process-explorer doesn't see and is even true in 
> wine's ultra light environment comprised of a single process, 
> this is definitely not the issue.

Can you reproduce the issue with other Dlls or is it only 
reproducible with curl dll? Does the issue with curl dll also 
exists if you do not call the curl function?

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list