Subj : Re: Sub-tree search To : borland.public.cpp.borlandcpp From : Georges Date : Tue Jul 05 2005 09:09 am Ed Mulroy wrote: > I just checked and you are right, findclose was added with C++ Builder, the > successor to Borland C++. I guess my memories from seven years ago when > Borland C++ was the current compiler are a little foggy. > > FindClose is a Windows API function which is used with two other Windows API > functions, FindFirstFile and FindNextFile. > > findclose was added to correct a leak in 32 bit Windows programs that occurs > because the search handle has not been closed. While it does call FindClose > it also does some other things with the list of internal structures > maintained by findfirst and findnext and is not trivial so it is not > practical to feed you an equivalent set of code to create a findclose for > your compiler. > > . Ed > > > Georges wrote in message > > news:42C99B01.B4A01591@radiolink.me.uk... > > > > You are correct - (in part anyway) I think I did say 5.02 and it's > > 32 bit.(98SE) > > > > findclose is not regocnised but FindClose is. Thanks Ed, I'll press on one way or another! G .