Click here to Skip to main content
16,004,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting Started Pin
David Crow20-Jun-03 7:18
David Crow20-Jun-03 7:18 
GeneralRe: Getting Started Pin
DaveE9th20-Jun-03 16:03
DaveE9th20-Jun-03 16:03 
QuestionIn a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
ElizabethC20-Jun-03 6:47
ElizabethC20-Jun-03 6:47 
AnswerRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
David Crow20-Jun-03 7:21
David Crow20-Jun-03 7:21 
GeneralRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
ElizabethC20-Jun-03 7:34
ElizabethC20-Jun-03 7:34 
GeneralRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
David Crow20-Jun-03 7:47
David Crow20-Jun-03 7:47 
GeneralRe: In a CListCtrl class, how to select a row from the list using the Up and Down arrows on the keyboard? Pin
ElizabethC20-Jun-03 8:21
ElizabethC20-Jun-03 8:21 
GeneralNo idea where to start to find this bug... Pin
RobJones20-Jun-03 5:24
RobJones20-Jun-03 5:24 
Hello,
I know what I'm about to define is pretty vague.. but I don't have any idea where to even start....

I have a server application that sits on 3 machines.. Every 60 seconds I spawn 3 UI threads per server to communicate between the 3. The communication takes only a few seconds and then the socket closes and the UI thread exits..

Pretty simple nothing special.

Here’s the problem.. If I let the servers run for a day or two and I check the thread count inside the Task Manager it shows an extra 30+ threads... I have a function to keep track of the UI threads I spawn (when they start and exit and how many are currently running etc..). When the task manager reads 30+ threads my application shows that ALL OF THE UI THREADS are closed the count is at 0. I know it's not my UI threads getting hung. Where do I start to try and figure out where these 30+ extra threads are coming from??

I have a feeling that when the machine goes into power save/screen blanks out.. the problem starts.

I know people are going to say why spawn the threads, just keep them open but by design I have to do it this way and can't change this..

Any ideas would be greatly appreciated?
Rob

Whoever said nothing's impossible never tried slamming a revolving door!
GeneralRe: No idea where to start to find this bug... Pin
valikac20-Jun-03 5:30
valikac20-Jun-03 5:30 
GeneralRe: No idea where to start to find this bug... Pin
RobJones20-Jun-03 5:34
RobJones20-Jun-03 5:34 
GeneralRe: No idea where to start to find this bug... Pin
valikac20-Jun-03 5:47
valikac20-Jun-03 5:47 
GeneralRe: No idea where to start to find this bug... Pin
RobJones20-Jun-03 6:13
RobJones20-Jun-03 6:13 
GeneralRe: No idea where to start to find this bug... Pin
Joel Lucsy20-Jun-03 8:19
Joel Lucsy20-Jun-03 8:19 
GeneralRe: No idea where to start to find this bug... Pin
John M. Drescher20-Jun-03 6:09
John M. Drescher20-Jun-03 6:09 
GeneralRe: No idea where to start to find this bug... Pin
RobJones20-Jun-03 6:14
RobJones20-Jun-03 6:14 
GeneralRe: No idea where to start to find this bug... Pin
John M. Drescher20-Jun-03 6:28
John M. Drescher20-Jun-03 6:28 
GeneralRe: No idea where to start to find this bug... Pin
RobJones20-Jun-03 6:49
RobJones20-Jun-03 6:49 
GeneralRe: No idea where to start to find this bug... Pin
John M. Drescher20-Jun-03 6:54
John M. Drescher20-Jun-03 6:54 
GeneralRe: No idea where to start to find this bug... Pin
RobJones20-Jun-03 9:17
RobJones20-Jun-03 9:17 
GeneralRe: No idea where to start to find this bug... Pin
John M. Drescher20-Jun-03 9:31
John M. Drescher20-Jun-03 9:31 
GeneralRe: No idea where to start to find this bug... Pin
Ted Ferenc20-Jun-03 8:23
Ted Ferenc20-Jun-03 8:23 
GeneralA Story Pin
Ted Ferenc20-Jun-03 9:13
Ted Ferenc20-Jun-03 9:13 
GeneralRe: A Story Pin
RobJones20-Jun-03 9:24
RobJones20-Jun-03 9:24 
GeneralRe: No idea where to start to find this bug... Pin
basementman20-Jun-03 11:15
basementman20-Jun-03 11:15 
GeneralRe: No idea where to start to find this bug... Pin
RobJones20-Jun-03 11:31
RobJones20-Jun-03 11:31 

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.