ODBC with Lazarus 1.4

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tudi_x
Posts: 15
Joined: Thu 09 Jul 2015 17:14
Location: Oklahoma

ODBC with Lazarus 1.4

Post by tudi_x » Thu 20 Aug 2015 20:42

Hi Support,
Please note that I was getting a missing LCLIntf unit message when compiling ODBCCallUni with Unidac 6.1.5 in Lazarus 1.4.
As I understand from 'http://wiki.lazarus.freepascal.org/lclintf' the error appears when LCL is not set as dependency in the package.
I have added LCL in my dependencies and it works but I was wondering if you guys could advise if LCL would be needed in the package dependencies so it is added automatically.

Regards,
Tudor

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ODBC with Lazarus 1.4

Post by AlexP » Wed 26 Aug 2015 10:47

Hello,

Our packages do not require LCLIntf, the latest version of UniDAC 6.1.6 is compatible with Lazarus 1.4.2. and FPC 2.6.4, please make sure you use these versions of Lazarus and FPC. Also, please specify for which platform and which Edition (Trial/Professional) you are installing.

tudi_x
Posts: 15
Joined: Thu 09 Jul 2015 17:14
Location: Oklahoma

Re: ODBC with Lazarus 1.4

Post by tudi_x » Wed 26 Aug 2015 19:44

Hi Alex,
In UniDAC 6.1.6 you can find the reference for LCLIntf in ODBCCallUni.pas in line 28, after compiler directives for FPC.
Using the Professional Ed.

Based on your answer I should understand I could actually delete the reference for the LCLIntf unit from ODBCCallUni.pas?

Regards,

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: ODBC with Lazarus 1.4

Post by AlexP » Thu 27 Aug 2015 07:29

These modules are not required, you can delete the following lines from the ODBCCallUni module

Code: Select all

{$ IFDEF FPC}
   LCLIntf, LCLType, LMessages,
{$ ENDIF}

Post Reply