e := ExtractFileExt(AFile);
I assured that sysutils is bound, also I tried changing to
e := SysUtils.ExtractFileExt(AFile);
I also reinstalled Webcore and FNC Core. The code completion knows ExtractFileExt in these places and as the TMS Code is fine, there must be something strange with my config. Funny: Other places use ExtractFilePath and this works. The exact error message of the compiler is:
[Fehler] WEBLib.TMSFNCUtils.pas(2746): identifier not found "ExtractFileExt" identifier not found "ExtractFileExt" [Fataler Fehler] identifier not found "ExtractFileExt"