Click here to Skip to main content
16,006,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tapi new telephony service provider Pin
Jon Sagara17-Feb-02 20:07
Jon Sagara17-Feb-02 20:07 
GeneralRe: Tapi new telephony service provider Pin
Michael P Butler18-Feb-02 3:39
Michael P Butler18-Feb-02 3:39 
GeneralRe: Tapi new telephony service provider Pin
Kiske18-Feb-02 7:20
Kiske18-Feb-02 7:20 
GeneralRe: Tapi new telephony service provider Pin
Michael P Butler18-Feb-02 9:09
Michael P Butler18-Feb-02 9:09 
GeneralCommon control macro's Pin
Onkie17-Feb-02 19:56
Onkie17-Feb-02 19:56 
GeneralRe: Common control macro's Pin
Michael Dunn18-Feb-02 6:29
sitebuilderMichael Dunn18-Feb-02 6:29 
GeneralFind File Pin
Member 1697717-Feb-02 18:11
Member 1697717-Feb-02 18:11 
GeneralRe: Find File Pin
Paul M Watt17-Feb-02 18:41
mentorPaul M Watt17-Feb-02 18:41 
I dont' know if there is a super function to do all of the work for you, but you can recursively scan all of the files in a directory with FindFirstFile and FindNextFile.

FindFirstFile will return a file search handle and a file info structure. You can analyze this structure to see if it is the file that you are looking for, if not move to the next file by calling FindNextFile with your search handle. If the files flags indicate that it is a directory, you can recursively search that directory as well.

When you are done you will need to call FindClose in order to free all of the memory that was allocated by your searching.
GeneralRe: Find File Pin
Jon Hulatt17-Feb-02 22:02
Jon Hulatt17-Feb-02 22:02 
GeneralRe: Find File Pin
Jonathan Craig18-Feb-02 4:52
Jonathan Craig18-Feb-02 4:52 
Questionhow long? Pin
redneckCoder17-Feb-02 15:47
redneckCoder17-Feb-02 15:47 
AnswerRe: how long? Pin
Christian Graus17-Feb-02 15:55
protectorChristian Graus17-Feb-02 15:55 
AnswerRe: how long? Pin
Jason Hooper17-Feb-02 16:04
Jason Hooper17-Feb-02 16:04 
AnswerRe: how long? Pin
Nish Nishant17-Feb-02 16:55
sitebuilderNish Nishant17-Feb-02 16:55 
GeneralRe: how long? Pin
Christian Graus17-Feb-02 17:09
protectorChristian Graus17-Feb-02 17:09 
GeneralRe: how long? Pin
Nish Nishant17-Feb-02 17:13
sitebuilderNish Nishant17-Feb-02 17:13 
GeneralRe: how long? Pin
Christian Graus17-Feb-02 17:20
protectorChristian Graus17-Feb-02 17:20 
GeneralRe: how long? Pin
Nish Nishant17-Feb-02 17:45
sitebuilderNish Nishant17-Feb-02 17:45 
GeneralRe: how long? Pin
Christian Graus17-Feb-02 17:51
protectorChristian Graus17-Feb-02 17:51 
AnswerRe: how long? Pin
Braulio Dez17-Feb-02 21:43
Braulio Dez17-Feb-02 21:43 
AnswerRe: how long? Pin
Michael P Butler18-Feb-02 3:42
Michael P Butler18-Feb-02 3:42 
GeneralLPT Port Pin
17-Feb-02 14:47
suss17-Feb-02 14:47 
GeneralRe: LPT Port Pin
Tim Smith17-Feb-02 15:21
Tim Smith17-Feb-02 15:21 
Generalanother one! Pin
17-Feb-02 14:32
suss17-Feb-02 14:32 
GeneralRe: another one! Pin
Derek Waters17-Feb-02 15:11
Derek Waters17-Feb-02 15:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.