On Tue, 29 Nov 2011, Hans-Peter Diettrich wrote:

michael.vancann...@wisa.be schrieb:


begin
 With TFPDocAplication.Create(Nil) do
   try
     Run;
   finally
     Free;
   end;
end.

When this were the *only* code in the fpdoc program file, another project could create a derived class, with a possibly specialized Run method, without touching the declaration or implementation of TFPDocApplication.

That would conflict with the GUI TApplication instance, so I really don't see the point of this exercise.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to