Page 1 of 1

ODBC with Lazarus 1.4

Posted: Thu 20 Aug 2015 20:42
by tudi_x
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

Re: ODBC with Lazarus 1.4

Posted: Wed 26 Aug 2015 10:47
by AlexP
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.

Re: ODBC with Lazarus 1.4

Posted: Wed 26 Aug 2015 19:44
by tudi_x
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,

Re: ODBC with Lazarus 1.4

Posted: Thu 27 Aug 2015 07:29
by AlexP
These modules are not required, you can delete the following lines from the ODBCCallUni module

Code: Select all

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