@slack1 yes, you can just use rename-in
twice
ah thanks
I’m using Dr Racket and FFI. When I load a DLL it seems to be holding on to it even after I hit the “Stop” button. This causes the post-build step for copying the DLL next to my racket file to fail b/c Dr Racket is holding onto the file and the copy needs to overwrite it. Any idea how to tell Dr Racket to let go of this file (without closing Dr Racket)?
@targetstorm From the docs for ffi-lib
: > Due to the way the operating system performs dynamic binding, loaded libraries are associated with Racket (or DrRacket) for the duration of the process. Re-evaluating ffi-lib (or hitting the Run button in DrRacket) will not force a re-load of the corresponding library. I don’t fully understand this paragraph, due to the existence of dlclose
, but it seems like maybe a fundamental limitation?