[Lazarus] converted Delphi unit in a lazarus package

Bart bartjunk64 at gmail.com
Tue Jul 12 00:57:16 CEST 2011


I have a EnumDirs unit that does just that (it also allows for exclude filters).

Bart

On 7/11/11, John Landmesser <JohnML at online.de> wrote:
> i found one problem in my unit findfile1.pas:
>
> inserted the compiler directive
>
> {$mode objfpc}{$H+}
>
> and now the package can be compiled to lazarus, and TFilefind appears in
> my component palette.
>
> But there is the next problem.
> If i add FileUtil to the uses clause of findfile1 -> error -> FileUtil
> not found.
>
> But for me it's ok to have the working TFindFile in my component palette !
>
> What for? It searches multiple file filters at once: *.xls;*.csv
>
> Do you know a fpc function that can do that?
>
> thanks for your help !!
>
> John
>
>
>
>
>
>
>
>
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list