Click here to Skip to main content
15,913,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access Violation. Pin
toxcct18-Jul-07 1:13
toxcct18-Jul-07 1:13 
GeneralRe: Access Violation. Pin
Cedric Moonen18-Jul-07 1:16
Cedric Moonen18-Jul-07 1:16 
GeneralRe: Access Violation. Pin
p_18-Jul-07 1:28
p_18-Jul-07 1:28 
GeneralRe: Access Violation. Pin
Cedric Moonen18-Jul-07 2:12
Cedric Moonen18-Jul-07 2:12 
GeneralRe: Access Violation. Pin
toxcct18-Jul-07 1:13
toxcct18-Jul-07 1:13 
QuestionRe: Access Violation. Pin
David Crow18-Jul-07 2:41
David Crow18-Jul-07 2:41 
Questionhelp with files Pin
josip cagalj17-Jul-07 23:53
josip cagalj17-Jul-07 23:53 
AnswerRe: help with files Pin
PravinSingh18-Jul-07 1:45
PravinSingh18-Jul-07 1:45 
Call FindFirstFile with c:\dir1\dir2\dir3\name.abc and an empty WIN32_FIND_DATA variable as parameter. Your WIN32_FIND_DATA variable.cFileName will give you the first matching file name. Then you can call FindNextFile in a while loop for subsequent matches. Use the same WIN32_FIND_DATA variable as a parameter to FindNextFile. (Looping through FindNextFile is required if you are searching using wildcards, like C:\Temp\*.*)
Refer http://msdn2.microsoft.com/en-us/library/aa365200.aspx[^] for complete example.

One more thing to take care, if you search for *.*, then the first two matches will be . and .. respectively, so you may choose to ignore them.


It's better to know some of the questions than all of the answers.

Pravin.

AnswerRe: help with files Pin
David Crow18-Jul-07 2:44
David Crow18-Jul-07 2:44 
AnswerRe: help with files Pin
Hamid_RT25-Jul-07 8:30
Hamid_RT25-Jul-07 8:30 
QuestionSubclassing Issue Pin
LoveCPlusplus17-Jul-07 23:42
LoveCPlusplus17-Jul-07 23:42 
AnswerRe: Subclassing Issue Pin
Mike Dimmick18-Jul-07 2:53
Mike Dimmick18-Jul-07 2:53 
QuestionNamedpipe Pin
charian092017-Jul-07 23:35
charian092017-Jul-07 23:35 
AnswerRe: Namedpipe Pin
Mark Salsbery18-Jul-07 6:19
Mark Salsbery18-Jul-07 6:19 
GeneralRe: Namedpipe Pin
charian092018-Jul-07 14:57
charian092018-Jul-07 14:57 
QuestionWhat happens after OnInitDialog()? Pin
rp_suman17-Jul-07 22:41
rp_suman17-Jul-07 22:41 
AnswerRe: What happens after OnInitDialog()? Pin
Cedric Moonen17-Jul-07 22:49
Cedric Moonen17-Jul-07 22:49 
AnswerRe: What happens after OnInitDialog()? Pin
Nibu babu thomas18-Jul-07 1:15
Nibu babu thomas18-Jul-07 1:15 
QuestionModifying the Windows Explorer Statusbar Pin
Toadflakz_UK17-Jul-07 22:14
Toadflakz_UK17-Jul-07 22:14 
QuestionHow to make first dialog iitself in a dialog based application Modeless Pin
robshere17-Jul-07 20:52
robshere17-Jul-07 20:52 
AnswerRe: How to make first dialog iitself in a dialog based application Modeless Pin
Arman S.17-Jul-07 21:35
Arman S.17-Jul-07 21:35 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
Adrian Brutus17-Jul-07 22:08
Adrian Brutus17-Jul-07 22:08 
GeneralRe: How to make first dialog iitself in a dialog based application Modeless Pin
Arman S.17-Jul-07 22:33
Arman S.17-Jul-07 22:33 
QuestionRe: How to make first dialog iitself in a dialog based application Modeless Pin
robshere17-Jul-07 22:15
robshere17-Jul-07 22:15 
AnswerRe: How to make first dialog iitself in a dialog based application Modeless Pin
Arman S.17-Jul-07 22:43
Arman S.17-Jul-07 22:43 

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.