Click here to Skip to main content
14,883,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit* pEdit = m_Pressure.GetEditControl(); is returning Null always Pin
Naveen11-Sep-07 18:14
MemberNaveen11-Sep-07 18:14 
GeneralRe: CEdit* pEdit = m_Pressure.GetEditControl(); is returning Null always Pin
shir_k11-Sep-07 19:14
Membershir_k11-Sep-07 19:14 
Questionerror message from OLEView Pin
George_George10-Sep-07 21:04
MemberGeorge_George10-Sep-07 21:04 
Questiontlbexp command Pin
George_George10-Sep-07 20:32
MemberGeorge_George10-Sep-07 20:32 
QuestionSCM: Does it handle crashing/abruptly killed services ? Pin
Yashusid10-Sep-07 20:00
MemberYashusid10-Sep-07 20:00 
QuestionJava Style Socket Programming in C++ Pin
maglev_tgv10-Sep-07 19:59
Membermaglev_tgv10-Sep-07 19:59 
AnswerRe: Java Style Socket Programming in C++ Pin
baerten10-Sep-07 23:23
Memberbaerten10-Sep-07 23:23 
QuestionFinding files Pin
Waldermort10-Sep-07 19:48
MemberWaldermort10-Sep-07 19:48 
I have coded a loop to find all files and folders on a certain drive. The loop works flawlessly but it takes too much time. On my machine, scanning drive C with close to 100000 files, it takes a good 7 seconds. The loop works in a way that it does a recursive search of each directory, copies the filename and path and adds this to a linked list for later processing.

I'm looking for a way to speed this process up. The use of threads may well do this, but it would be more than complicated to code. How would you decide when a thread is required, how would you manage the handles and synchronisation problems?

I would be interested to know how others would approach this problem.

Waldermort

AnswerRe: Finding files Pin
Nishad S10-Sep-07 20:01
MemberNishad S10-Sep-07 20:01 
GeneralRe: Finding files Pin
Waldermort10-Sep-07 23:50
MemberWaldermort10-Sep-07 23:50 
GeneralRe: Finding files Pin
Nishad S11-Sep-07 1:39
MemberNishad S11-Sep-07 1:39 
QuestionRegistry Pin
john563210-Sep-07 19:47
Memberjohn563210-Sep-07 19:47 
AnswerRe: Registry Pin
Arman S.10-Sep-07 20:22
MemberArman S.10-Sep-07 20:22 
AnswerRe: Registry Pin
VirtualVoid.NET10-Sep-07 21:48
MemberVirtualVoid.NET10-Sep-07 21:48 
AnswerRe: Registry Pin
David Crow11-Sep-07 3:19
MemberDavid Crow11-Sep-07 3:19 
QuestionHow to get HInstance of ToolBar item?? Pin
Neo Andreson10-Sep-07 19:47
MemberNeo Andreson10-Sep-07 19:47 
AnswerRe: How to get HInstance of ToolBar item?? Pin
Nishad S10-Sep-07 20:03
MemberNishad S10-Sep-07 20:03 
QuestionNeed help for network programming (ipx/udp game on Internet) Pin
followait10-Sep-07 17:09
Memberfollowait10-Sep-07 17:09 
GeneralRe: Need help for network programming (ipx/udp game on Internet) Pin
Matthew Faithfull10-Sep-07 23:07
MemberMatthew Faithfull10-Sep-07 23:07 
GeneralRe: Need help for network programming (ipx/udp game on Internet) Pin
followait11-Sep-07 1:10
Memberfollowait11-Sep-07 1:10 
GeneralRe: Need help for network programming (ipx/udp game on Internet) Pin
Matthew Faithfull11-Sep-07 2:18
MemberMatthew Faithfull11-Sep-07 2:18 
QuestionLibrary file redefinition error Pin
palanirajan10-Sep-07 16:54
Memberpalanirajan10-Sep-07 16:54 
AnswerRe: Library file redefinition error Pin
fefe.wyx10-Sep-07 17:05
Memberfefe.wyx10-Sep-07 17:05 
GeneralRe: Library file redefinition error Pin
palanirajan10-Sep-07 17:32
Memberpalanirajan10-Sep-07 17:32 
AnswerRe: Library file redefinition error Pin
john563210-Sep-07 19:57
Memberjohn563210-Sep-07 19:57 

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.