On 01.10.2011 23:12, silvioprog wrote:
2011/10/1 Sven Barth<pascaldra...@googlemail.com>:
I personally don't see what's wrong there. Can you reproduce that with a
small test program that does not depend on "LCLVersion", but defines the
constants itself?

Yes, in attached.

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


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to