Re: [fpc-devel] CGI/Command line/GUI all in one

2009-09-20 Thread Horacio Jamilis
Dariusz Mazur escribió: http://www.emadar.com/fpc/xwebdemo.zip its very simple demo with all libraries but some text are in polish, fell free to ask, i've try to translate or explain I tried to compile the demo project with Delphi 2007 (because I saw a .dpr file)... but it seems that a c

Re: [fpc-devel] CGI/Command line/GUI all in one

2009-09-20 Thread Dariusz Mazur
Horacio Jamilis pisze: Dariusz Mazur escribió: Horacio Jamilis pisze: Dariusz Mazur escribió: This is not problem to have separate executable, only have one source to both GUI. I made program which can work as desktop and as web-based (FCGI or standalone web server) Each form is create dynami

[fpc-devel] [patch] a tweak to reduce the number of temps

2009-09-20 Thread Sergei Gorelkin
Hello, It looks that I could finally figure out why the hell every type conversion was done involving an intermediate temp. This happened because node processing order was a bit incorrect. See the attached patch. Since argument of firstpass is passed by reference, freeing the old node before