Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread Ludo Brands
After recent discussions about which library to load when loading DB client libraries, I changed the default names for Firebird, MySQL, Postgres. That was well in time ;) Thanks. Another little bug and patch in http://bugs.freepascal.org/view.php?id=22691 Ludo

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread Ludo Brands
(In the IDE: drop, set connector type from picklist, maybe change library name, set to enabled). I'm having some problems using this in the IDE. The picklist is empty. Probably something missing in procedure TSQLDBConnectorTypePropertyEditor.GetValues( Proc: TGetStrProc); Var L :

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread michael . vancanneyt
On Wed, 22 Aug 2012, Ludo Brands wrote: After recent discussions about which library to load when loading DB client libraries, I changed the default names for Firebird, MySQL, Postgres. That was well in time ;) Thanks. Another little bug and patch in

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread Ludo Brands
Also, if I understand the mode of operation correctly, the TSQLDBLibraryLoader, when enabled, loads the library before the TxxxConnection tries to load it. But how can you be sure TSQLDBLibraryLoader is streamed before a TxxxConnection that has connected set to true Previous message was

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread michael . vancanneyt
On Wed, 22 Aug 2012, Ludo Brands wrote: (In the IDE: drop, set connector type from picklist, maybe change library name, set to enabled). I'm having some problems using this in the IDE. The picklist is empty. Probably something missing in procedure

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread Ludo Brands
There are more problems: the library name is not cross-platform, so the project will no longer be cross-platform. Which is a far more serious problem, IMHO. (and one which would exist even if I had followed your suggestion of implementing the property in TSQLConnection). That is not a

Re: [fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-22 Thread michael . vancanneyt
On Wed, 22 Aug 2012, Ludo Brands wrote: There are more problems: the library name is not cross-platform, so the project will no longer be cross-platform. Which is a far more serious problem, IMHO. (and one which would exist even if I had followed your suggestion of implementing the property

[fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

2012-08-21 Thread Michael Van Canneyt
Hi, After recent discussions about which library to load when loading DB client libraries, I changed the default names for Firebird, MySQL, Postgres. araminta: ./loadlibdemo list Available connection types: Firebird, Default library name: libfbclient.so.2.5 MySQL 4.0, Default library name: