[fpc-devel] Parameters must match exactly?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon May 17 21:41:32 CEST 2010

On Mon, 17 May 2010 11:41:22 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> Looking at the Lazarus code for Application.CreateForm. Now they do other
> strange things too, creating a instance without calling the constructor
> etc... This doesn't seem like something I want either and still doesn't
> solve the problem where somebody could pass in any object type to CreateForm.

VCL/LCL sets first the variable. This way code can already access
the variable while the OnCreate event is processed.


More information about the fpc-devel mailing list