Lazarus

Programming => Databases => Topic started by: Hansvb on July 29, 2021, 08:26:18 am

Title: [SOLVED] Is this supposed to work?
Post by: Hansvb on July 29, 2021, 08:26:18 am
Hi,

I Placed a TZConnection on a form. Then enter the database name, user name, password, protocol and Library location. Clicked in Connect and the connection works. That is as expected.
Then click on connect so that the connection stops and I removed the Library location. After that I clicked on connect again and there is an immediate connection. I expected an error message here because the location of the oci.dll is no longer known (the Library location location is empty).
Is this a bug or is it supposed to work like this?
Title: Re: Is this supposed to work?
Post by: PascalDragon on July 29, 2021, 08:56:33 am
The library is already loaded into the process (be it the IDE or your application), so removing the library does not affect the running process.
Title: Re: Is this supposed to work?
Post by: Hansvb on July 29, 2021, 02:46:41 pm
ok, I was just curious.
Thanks
TinyPortal © 2005-2018