|
AnyDAC
|
Releases the driver resources, allowing to initialize the driver with different parameters.
Use the Release method to release all driver resources and unload the DBMS client library.
The next connection established after the Release call will initialize driver and load the DBMS client library using the current driver parameters. So, after changing VendorHome and VendorLib property values, call Release method to force DBMS client reloading.
Before calling Release method an application must close all connections made through this driver. Otherwise an exception will be raised. When there were no connections made through this driver, then application may avoid Release call, because driver is not initialized and DBMS client library is not loaded.
procedure Release;
ADConnection1.Close; ... ADConnectionN.Close; ADPhysIBDriverLink.VendorLib := 'c:\fbclient.dll'; ADPhysIBDriverLink.Release; ADConnection1.Open; ... ADConnectionN.Open;
|
What do you think about this topic? Send feedback!
|