Recent

Author Topic: Does this work in winders?  (Read 165 times)

cdbc

  • Hero Member
  • *****
  • Posts: 2818
    • http://www.cdbc.dk
Does this work in winders?
« on: May 07, 2026, 07:05:45 pm »
Hi
Does this:
Code: Pascal  [Select][+][-]
  1. finished:= FindFirst(aDir + '*',faAnyFile,found); { * and  faAnyFile works on linux }
work in winders?
...Or must it be aDir+'*.*' ?!?
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Re: Does this work in winders?
« Reply #1 on: May 07, 2026, 07:07:06 pm »
Single star is ok for windows.  (and afaik dos with win9x compatible LFN support enabled).

cdbc

  • Hero Member
  • *****
  • Posts: 2818
    • http://www.cdbc.dk
Re: Does this work in winders?
« Reply #2 on: May 07, 2026, 07:09:57 pm »
Hi marco
Thanks mate, that saves me an 'ifdef'  ;D
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

 

TinyPortal © 2005-2018