[Lazarus] DUint application

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Nov 19 10:41:37 CET 2012



On Mon, 19 Nov 2012, Antonio Fortuny wrote:

> Hi folks.
>
> Do you think that a FPCUnitTest application could deal with TDataModues ?
> I ask this question bacause when the next statement is executed:
>  Application.CreateForm(TDM, DM);
> I get a runtime exception (EStreamError) telling that
> Failed to initialize component class "TDM": No streaming method available.

Try adding the lresources unit to your program's uses clause. That should help.

Michael.




More information about the Lazarus mailing list