Zeos + fpweb (cgi) = doesnt work lazarus / 16-Databases ---------------------------------------------------------------------- cpalx · 2012-12-30 20:01 Hello, i found a bug with zeos and foweb (cgi application),  the link of that bug is http://zeosbugs.firmos.at/view.php?id=270 the problem is that some developers dosnt know enough of fpc architecture. If somebody can help would be nice.  his last post is : ======== I must admit i don't know enough about the FPC architecture. All the errormessages do point me to used controls of the TZUpdateSQLEditor Forms or something like this. May i ask you for more expierences on this domain? With delphi we use different Packages for each Layer: Core, Plain, ParseSQL, Dbc, Component, ComponentDesign. Annoying for me is that the messages are less helpfull. They do only point me to for CGI inavailable functions but i must admit i'm currently not really able determine the Unit which directly points to this issue. Any ideas or suggestions? ======== ---------------------------------------------------------------------- otorres · 2012-12-30 20:17 I'm not sure how this error as, but you can try creating controls at runtime? maybe this would help to avoid the error. regards ---------------------------------------------------------------------- Leledumbo · 2012-12-30 20:26 Add Interfaces to the .lpr's uses clause. Use NoGUI interface for web application. ---------------------------------------------------------------------- cpalx · 2012-12-30 22:15 thanks @Leledumbo, that solved the problem ---------------------------------------------------------------------- LuizAmérico · 2012-12-31 00:22 While the proposed solution should work, is not optimal. Try removing the unit zcomponent from the uses clause of your main project file (.lpr). It worked here The reason is that zcomponent is a package file (not necessary to work at all) that depends of LCL controls. This forces the requirement of a LCL interface, so adding NoGUI interface works but with a huge, and not needed, dependency. Compare the file size of the  compiled program with Interfaces unit plus NoGUI and as a proposed. ---------------------------------------------------------------------- cpalx · 2012-12-31 02:54 i tried but no compiled. same error. it needs interfaces ---------------------------------------------------------------------- LuizAmérico · 2012-12-31 09:49 Somehow you still have a dependency to LCL in your project Attached a cgi program with zeos that compiles fine ---------------------------------------------------------------------- cpalx · 2012-12-31 13:31 @LuizAmérico, you are right. Thanks