Page 3 of 3

Re: Driver loading issue when connecting to PostgreSQL after connecting to Oracle

Posted: 23.11.2020, 16:06
by aehimself
Fr0sT wrote: 23.11.2020, 15:35No matter how many times LoadLibrary is called, Windows only loads single instance of a lib. Different handles just point to the same object. Moreover, FreeLibrary cares about ref counter as well. So it's enough for driver object to call FreeLibrary on destroy.
I actually did not know about this behavior. I'll attempt to make this change and then test if it works as expected. Thanks for the hint!

P.s.: Where have you been?! Didn't see you here for ages now!

Re: Driver loading issue when connecting to PostgreSQL after connecting to Oracle

Posted: 25.11.2020, 00:45
by Fr0sT
aehimself wrote: 23.11.2020, 16:06 P.s.: Where have you been?! Didn't see you here for ages now!
For some time I only been at Praxis and then got ill and isolated for 2w for wearing a Corona :/