Subject Dynamically "unloading" UDF
Author PenWin

My application is using a custom UDF file to define several external
functions. It turns out I need to update the UDF file, because one of its
functions returns incorrect (or rather correct, but unexpected) result. I
would like to update the UDF automatically, at least for those cases where
the application actually runs on the same machine as Firebird. The code that
does it is pretty much done, but the problem is that as soon as I access any
function in the UDF file, Firebird keeps that UDF file locked until I close
my application. Is there a way to tell Firebird to unload the UDF file so
that I could replace it with the new version?