findfirst file
-
Give me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
9ine
-
Give me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
9ine
Hi, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/listing_the_files_in_a_directory.asp[^] only change StringCbCatN (DirSpec, BUFSIZE, "\\*", 3); to e.g. StringCbCatN (DirSpec, BUFSIZE, "\\*.txt", 7);
----------- Mila
-
Give me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
9ine
9ine wrote:
e me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
you are lucky.. MSDN provided you example in CFileFind::FindNextFile()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you
-
9ine wrote:
e me a snippet of code for a findfirstfile to browse thru all files by a mask in a certain directory
you are lucky.. MSDN provided you example in CFileFind::FindNextFile()
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you