[Lazarus] Web Module not works on Linux

Michael Van Canneyt michael at freepascal.org
Sat Nov 20 14:20:15 CET 2010



On Sat, 20 Nov 2010, Sven Barth wrote:

>>     I've looked at that method. It does not rely on any visual code, so
>>     I'd suggest you to move those methods that don't use any GUI related
>>     code (e.g. dialogs, etc) to another unit where only units from RTL
>>     and FCL are included. This unit can then be used within your CGI
>>     application without problems.
>> 
>> 
>> Then is not possible use the Graphics unit in CGI module? D:
>
> I'd say it's discouraged. You should use fpImage to do graphics in a 
> non-visual application.

That is 100% correct.

Michael.




More information about the Lazarus mailing list