2011/10/2 silvioprog <[email protected]>
>
> 2011/10/2 Sven Barth <[email protected]>:
> > Ahhha! I found your problem: You must define "{$mode objfpc}{$H+}" BEFORE
> > the "interface"-section. It's a unit global switch and as such it must be
> > defined before anything else (except other switches, comments and the
> > "program/unit identifer;" declaration).
> >
> > Regards,
> > Sven
>
> Hmm... how to I configure my .inc file for the demo work?
>
> (new demo in attached)

Simple, just use .inc in unit files. Do not put logical in .lpr files.

Marcos Douglas

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to