This is according to Steve Shafer (Team B) back in 1999. "FindFileInTree is not an API function; it's a function in the Microsoft Setup Toolkit. For some reason, Microsoft included the Setup Toolkit functions in some versions of the Win32 API online help."
Harry > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of whitehat > Sent: Wednesday, April 20, 2005 1:31 PM > To: Delphi-Talk Discussion List > Subject: Re: Search For File - Reply > > > Thanks for the replies. I wrote my own recursive > routine. Does what I want. > > However, I came across this in the Delphi help files > > LPSTR FindFileInTree(LPSTR szFile, LPSTR szDir, LPSTR szBuf, int cbBuf); > > FindFileInTree searches for the specified file in a directory and its > subdirectories. > > But Delphi says "Undeclared identifier: 'FindFileInTree'." > > Any comments? > > > ----- Original Message ----- > From: "whitehat" <[EMAIL PROTECTED]> > To: "Delphi-Talk" <[email protected]> > Sent: Tuesday, April 19, 2005 7:32 AM > Subject: Search For File > > > > I want my program to search all hard drives for the > > location of a particular file. I should be able to > > make use of the Windows search procedure but I don't > > know how. > > Any help, or do I have to write my own recursive > > routine to do it? > > > > __________________________________________________ > > Delphi-Talk mailing list -> [email protected] > > http://www.elists.org/mailman/listinfo/delphi-talk > > > > > > > > > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi-talk > __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
