On Tue, 2 Oct 2012, Reinier Olislagers wrote:

Hi list,


 IBConn:TIBConnection;
...
IBConn:=TIBConnection(FConn.ProxyConnection);
IBConn.UserName:=FConn.UserName;
IBConn.Password:=FConn.Password;
IBConn.DatabaseName:=FConn.DatabaseName;
...
IBConn.CreateDB;

Is that the best/easiest way? Would it make sense to make the proxy code
in TSQLConnector public?

No. The whole idea is just to hide it.

What you want to do is not supported, and is not meant to be supported.

To do what you want, we'd need to promote CreateDB to TSQLConnection, and let
descendants handle it if they can.

Then it can be delegated to the proxy in TSQLConnector.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to