Re: [Firebird-devel] Unload of fbclient.dll (v3)

2017-10-02 Thread Kovalenko Dmitry
>> Could anybody confirm this behavior of FB3 client library?

>Please add big delay (120 sec should be enough) after last attachment
closed before unloading client library. Does it unload in such case?

  {
   ::Sleep(120*1000);

   _VERIFY(::FreeLibrary(m_hDLL));
  }

Not help. Fbclient (fbclient_30.dll) still present in memory.

My test is simple:

1. Load DLL
2. Connect to database through tcp/ip protocol
3. Detach from database

4. Unload DLL

Regards,
Dmitry Kovalenko



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Unload of fbclient.dll (v3)

2017-10-02 Thread Alex Peshkoff via Firebird-devel

On 10/02/17 13:49, Kovalenko Dmitry wrote:


Could anybody confirm this behavior of FB3 client library?




Please add big delay (120 sec should be enough) after last attachment 
closed before unloading client library. Does it unload in such case?




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Unload of fbclient.dll (v3)

2017-10-02 Thread Alex Peshkoff via Firebird-devel

On 10/02/17 13:49, Kovalenko Dmitry wrote:


Hello,

fbclient.dll (from FB3) not unload when I call ::FreeLibrary.

fbclient.dll (from FB2.5) unloads without problems.

Could anybody confirm this behavior of FB3 client library?




Yes - in a test with FB4 on linux. BTW, ::dlclose does not return an error.
I remember we discussed something similiar with Vlad a few years ago but 
do not remember details.





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Unload of fbclient.dll (v3)

2017-10-02 Thread Kovalenko Dmitry
Hello,

 

fbclient.dll (from FB3) not unload when I call ::FreeLibrary.

 

fbclient.dll (from FB2.5) unloads without problems.

 

Could anybody confirm this behavior of FB3 client library?

 

Thanks,

Dmitry Kovalenko

www.ibprovider.com

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdotFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel