I'm currently working under Delphi 10.4.1 with madCollection 5.1.0.
I have written a delphi package which allows me to dynamically install/uninstall .bpl files when I load my own projects.
It works fine with most bpl files except madExcept_.bpl. Indeed, after uninstalling the file, I try to delete it. But Delphi has retained control over it which prevents deletion.
To be able to delete bpl files, Delphi IDE must be closed.
You can reproduce it easely, with the Delphi package manager :
- Add manually madBasic_.bpl, madDisAsm_.bpl and madExcept_.bpl
- Remove manually madBasic_.bpl, madDisAsm_.bpl and madExcept_.bpl
- Try to delete bpl files in Windows Explorer: deletion is refused
Does anyone have an explanation or a solution to fix it?
In advance, thank you for your answer.