Subj : Works on WIN98 but not on XP To : borland.public.cpp.borlandcpp From : GRAMAX Date : Wed Dec 17 2003 03:43 pm I have here some strange behaviour of programs under Win XP. Some of the Windows API Function but also FileSearch() work exactly ast they should on WIN 98 machines but fail on a XP machine.I have no explanantion at all. Here an example I just did for tes treason: // ---------------- void __fastcall TForm1::Button1Click(TObject *Sender) { String LW = "C:\\"; String FL = "OUT.DAT"; String rwS = FileSearch(FL,LW); Label1->Caption = rwS ; } //--------------------------------------------------------------------------- It runs errorfree on a WIN98 but on a WIN XP it allways delivers an empty string. Any Explanantion ? .