Martin Frb via fpc-pascal wrote:
Silly question, but did you assign the value to the variable?myClass := TWindow;
That's what I did.
TWindow(myClass).CreateNewWindow;
And this is what crashes. I can report this, if the type-cast is supposed to work. Regards, Adriaan van Os _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal