Now I get it working on both platforms.
Use InitCriticalSection and DoneCriticalsection (thanks Mattias)
Using system.EnterCriticalSection and system.LeaveCriticalSection
solves all the compilation problems and runs (thanks all)
Thanks again
Antonio.
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce
que la protection avast! Antivirus est active.
http://www.avast.com
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus