Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Moved project - can't find file Pin
BlackDice30-Mar-04 3:45
BlackDice30-Mar-04 3:45 
GeneralSelf-Executable File!!! HELP PLEASE Pin
CZECHREPUBLIC30-Mar-04 2:42
sussCZECHREPUBLIC30-Mar-04 2:42 
GeneralRe: Self-Executable File!!! HELP PLEASE Pin
ohadp30-Mar-04 3:23
ohadp30-Mar-04 3:23 
GeneralRe: Self-Executable File!!! HELP PLEASE Pin
Czech Republic\30-Mar-04 6:11
sussCzech Republic\30-Mar-04 6:11 
GeneralRe: Self-Executable File!!! HELP PLEASE Pin
ohadp30-Mar-04 18:49
ohadp30-Mar-04 18:49 
GeneralRe: Self-Executable File!!! HELP PLEASE Pin
Alexander M.,30-Mar-04 8:30
Alexander M.,30-Mar-04 8:30 
GeneralMulti-threaded MFC Webcrawler (VC++) Pin
JonCage30-Mar-04 2:24
JonCage30-Mar-04 2:24 
GeneralRe: Multi-threaded MFC Webcrawler (VC++) Pin
ohadp30-Mar-04 3:21
ohadp30-Mar-04 3:21 
If I were you I'd consider writing/using a thread-pool.

have the first thread start running with a job of downloading the first page. then perform your default processing on it which is to parse for links .
then, fill the thread-pool's job-list with jobs per each url, and so on.
add a depth count to each job so that you can limit them.

before a thread fills up the thread-pool's job-list with more urls to investigate, have it post some data into another list the doc/view is incharge of so that the user can get a sense of 'whats happening'.

p.s. - a thread pool is a simple structure of X threads that wait for 'jobs' to handle. they share a single 'list of pending jobs' and whenever a job exists in the list, an event is set and the first thread to catch it will be the one to remove that job from the list and handle it. it requiers some synchronization (locking list, waiting for input, waiting for all threads to destroy themselves, etc) but if you do it generalized it's worth it.
GeneralWriting editors for indian languages Pin
Sivaji30-Mar-04 2:09
Sivaji30-Mar-04 2:09 
GeneralRe: Writing editors for indian languages Pin
Monty230-Mar-04 2:24
Monty230-Mar-04 2:24 
GeneralRe: Writing editors for indian languages Pin
Sivaji30-Mar-04 17:39
Sivaji30-Mar-04 17:39 
GeneralShorcut menu Pin
CZECH REPUBLIC30-Mar-04 1:47
sussCZECH REPUBLIC30-Mar-04 1:47 
GeneralRe: Shorcut menu Pin
22491730-Mar-04 2:02
22491730-Mar-04 2:02 
GeneralRe: Shorcut menu Pin
Prakash Nadar30-Mar-04 2:37
Prakash Nadar30-Mar-04 2:37 
GeneralWriting Excel files... Pin
Matt Gullett30-Mar-04 1:29
Matt Gullett30-Mar-04 1:29 
GeneralRe: Writing Excel files... Pin
Antti Keskinen30-Mar-04 2:42
Antti Keskinen30-Mar-04 2:42 
GeneralRe: Writing Excel files... Pin
BlackDice30-Mar-04 3:16
BlackDice30-Mar-04 3:16 
GeneralRead and writing access (*.mdb) file with Record view form! Pin
Mehdi_Hosseinpour30-Mar-04 1:25
Mehdi_Hosseinpour30-Mar-04 1:25 
GeneralRe: Read and writing access (*.mdb) file with Record view form! Pin
Antti Keskinen30-Mar-04 2:54
Antti Keskinen30-Mar-04 2:54 
GeneralRe: Read and writing access (*.mdb) file with Record view form! Pin
David Crow30-Mar-04 3:41
David Crow30-Mar-04 3:41 
GeneralRe: Read and writing access (*.mdb) file with Record view form! Pin
Alexander M.,30-Mar-04 7:27
Alexander M.,30-Mar-04 7:27 
QuestionDifference Please? Pin
Prakash Nadar30-Mar-04 1:02
Prakash Nadar30-Mar-04 1:02 
AnswerRe: Difference Please? Pin
Monty230-Mar-04 1:22
Monty230-Mar-04 1:22 
AnswerRe: Difference Please? Pin
22491730-Mar-04 1:27
22491730-Mar-04 1:27 
GeneralRe: Difference Please? Pin
Prakash Nadar30-Mar-04 2:27
Prakash Nadar30-Mar-04 2:27 

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.