On Thu, 27 May 2010 15:47:46 +0200
Andrea Mauri <[email protected]> wrote:

> Why FileUtil unit uses LCL? There is a comment in the unit:
>    // For Smart Linking: Do not use the LCL!
> I would like to use some functions included in FileUtil (e.g. 
> ExtractFileNameOnly) also in a Console Application without LCL 
> dependencies, is it possible?

Yes.
Add LCL as dependency in the project inspector and use the unit
FileUtil. The compiler is clever enough to only use the FileUtil unit.


Mattias

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

Reply via email to