Recent

Author Topic: Using SQLDB independently from FPC ?  (Read 3193 times)

patyi

  • Full Member
  • ***
  • Posts: 168
Using SQLDB independently from FPC ?
« on: March 19, 2012, 09:23:15 am »
Hi all !

I remember somewhere I read that is possible to use SQLDB independently from FPC,
I mean while using FPC 2.6.0 with Lazarus to use latest SQLDB updates from svn.
I don't want to install and update latest FPC from svn repositories, it's make me trouble often,
also I can't recompile SQLDB with FPC 2.6.0 ...

Howe to do that as far as possible ?

Thanks, Patyi.

Middlecope

  • Jr. Member
  • **
  • Posts: 92
Re: Using SQLDB independently from FPC ?
« Reply #1 on: March 19, 2012, 08:54:47 pm »
The connections with the different  RDMS (MySQL, Postgres etc.) is maintained in the FPC source.
If you like to make some changes in a Visual Component and compile the SQLDB.lpk then you have to make
some changes in the UNITS directory that the FPC uses.
If you like to see an example take a look at my post:
Quote
How to get rid of the VersionMismatch warning in SQLB-MySQL51Conn component
« on: March 13, 2012, 10:49:43 pm »
Success Teunis

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12786
  • FPC developer.
Re: Using SQLDB independently from FPC ?
« Reply #2 on: March 19, 2012, 09:37:56 pm »
Note that some of the database fixes are already merged to 2.6.1

 

TinyPortal © 2005-2018