Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2005

Tip: Looking for answers? Try searching our database.

FindFirstFile and FindNextFile

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paulo Eduardo - 30 Jun 2005 23:52 GMT
Hi, all!

We are devleping one app that will use disk access with FindFirstFile and
FindNextFile for it. Can someone expose me how works FindFirstFile and
FindNextFile  in disk access? Does the findFirstfile read all files of disk
and put in physical memory  , and FindFirstFile read files from memory? Can
someone help us?

Thanks in advance.
William DePalo [MVP VC++] - 01 Jul 2005 00:26 GMT
> Can someone expose me how works FindFirstFile and
> FindNextFile  in disk access?

The functions are used to emumerate the files in a directory whose names
match a specified pattern.

> Does the findFirstfile read all files of disk
> and put in physical memory  , and FindFirstFile read files from memory?

The functions look at a single directory and not at the contents of any
file. The enumeration is one file name at a time; exactly how much of a
directory is in memory at a time is not the kind of thing you need to know
as there is nothing that you can do about it.

Regards,
Will

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.