[Lazarus] converted Delphi unit in a lazarus package

John Landmesser JohnML at online.de
Mon Jul 11 19:32:21 CEST 2011


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














More information about the Lazarus mailing list