[Lazarus] Uses Clause in LPR

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Fri Jun 10 16:35:47 CEST 2011



On Fri, 10 Jun 2011, Rafael Tuim Elias wrote:

> Dear Michael
>
> I found the same bug in the LazSolutions, and i reported to the developer,
> who has answered me.
>
> http://code.google.com/p/lazsolutions/issues/detail?id=22
>
> He said, that bug is a IDE bug.

It is not a bug. It is correct behaviour.

The LazSolutionsRT should have the 'add to uses clause' flag not set: in the
package dialog, choose options. then

'Package options' - 'Usage'

and then

uncheck the 'Add package unit to uses section' 
(no check mark should be present).

For Zeos, the same is probably true, but I do not know how the zeos package
works.

It can be that after this, the same error occurs. If so, it means that
somewhere in the zeos code, the lazarus 'interfaces' unit is used, or a unit
that depends on the LCL. This unit must be rewritten if you want to use zeos
in a CGI or any webserver project.

Michael.




More information about the Lazarus mailing list