On Thursday, 9 May 2019 at 11:07:53 UTC, Andre Pany wrote:
On Thursday, 9 May 2019 at 10:09:23 UTC, Cym13 wrote:
Hi,
this is likely not related to D itself but hopefully someone
can help me with this since I'm rather new to windows
programming, I mainly work on linux. I'm trying to bundle a
DLL in a binary, write it in a temp folder, use it and remove
the dangling file.
[...]
I can't explain the behaviour, but you could store the temp
file name in a string array and remove these file in the module
destructor. That's the way how dub handles temp files/folders.
https://github.com/dlang/dub/blob/master/source/dub/internal/utils.d#L98
Kind regards
Andre
No luck there.