Re: [fpc-devel] Circular references and forward declarations

2010-01-05 Thread Horacio Jamilis
El 05/01/2010 13:07, Juha Manninen escribió: Why is it not allowed from another unit? They are conceptually the same thing! The problem could be solved easily if there was a forward declaration saying: TMyClass = class; defined in MyUnit.pas I need this feature too, and I like this

Re: [fpc-devel] Circular references and forward declarations

2010-01-05 Thread Horacio Jamilis
El 05/01/2010 15:48, Marco van de Voort escribió: In our previous episode, Horacio Jamilis said: I need this feature too, and I like this proposed syntax. In my case, my classes are defined in a form unit, so I can not have more than 1 class per file (this is a Lazarus project

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

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

2009-09-19 Thread Horacio Jamilis
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 dynamical in runtime, source

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

2009-09-17 Thread Horacio Jamilis
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 dynamical in runtime, source is one, but in compile time: 1 for desktop: