[fpc-pascal]Strange error from a simple class

Michael Van Canneyt michael.vancanneyt at wisa.be
Sun Jun 8 16:43:21 CEST 2003


On Sun, 8 Jun 2003, James Mills wrote:

> Hi,
>
> I get this error from a very simple class:
>
> Runtime error 216 at 0x0805A735
>   0x0805A735
>   0x080481FF  TCONFIG__PRINT,  line 29 of configclass.pas
>   0x0805BE35  main,  line 29 of forum.pas
>   0x080480B0
>
> Any ideas ?

You should also show the forum.pas file.
The constructor Create should be in the 'public'  section of the class,
not in the first (private) section.

Michael.





More information about the fpc-pascal mailing list