Page 1 of 1

Unload FBClient

Posted: Tue 26 Feb 2019 10:53
by Jank
Hi,

I extract a Firebird 3 with alle Files I need for embedded Firebird to temp-Directory.
Then I use it. When I close the Programm I close the connection then I try to delete the fb-Directory, but thats not possible becuse the fbclient.dll ist still loaded.
So I set IBCCall.ForceUnloadClientLibrary to true and call GDSList.clear by myself. Now I can delete much more files, but not all and I think, that is not a good way.
I can delete ib_util.dll, icudt52.dll, icudt52l.dat, icuuc52.dll only, I the application is closed.

Is there a way to unload all loaded librarys on a clean way that I can delete the files?

Regards, Jan

Re: Unload FBClient

Posted: Wed 27 Feb 2019 10:40
by ViktorV
We have investigated this problem, and we assume it is not due to any bugs in IBDAC, but it is related to Firebird functionality issues. There is similar error report in the Firebird RDBMS Issue Tracker. http://tracker.firebirdsql.org/browse/CORE-5299, http://tracker.firebirdsql.org/browse/CORE-6014

Re: Unload FBClient

Posted: Thu 28 Feb 2019 11:46
by Jank
Hi Viktor,

thank you very much for this information.
If this problem is fixed by Firebird, than using the "GDSList.clear" Method is a way you recommend?

Regards, Jan

Re: Unload FBClient

Posted: Thu 28 Feb 2019 12:58
by ViktorV
If Firebird corrects the error you indicated, you can use the GDSList.Clear method to solve your problem.